Multi-modal remote sensing target segmentation method and system based on visual reference prompt
Through the visual-language large model and remote sensing scene knowledge embedding module, combined with the decoder of the large language model, the accuracy problem of feature segmentation in remote sensing images is solved, and the effective processing of complex backgrounds and feature positioning in remote sensing images are achieved.
Patent Information
- Application Number
- CN202410603184.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-30
AI Technical Summary
When the existing remote sensing target segmentation methods are applied to remote sensing images, it is difficult to accurately segment the pointed objects. This is mainly due to the cluttered background and complex content of the remote sensing images. As a result, the model cannot effectively handle the redundant background in the remote sensing images after training on natural images. Features.
Use a large visual-language model to build a network, and design a remote sensing scene knowledge embedding module. Use a visual encoder and a text encoder to generate scene knowledge embedded image features, combine it with a decoder based on a large language model for reasoning, and use visual reference prompts to achieve the goal. segmentation.
It improves the model's ability to understand the contextual relationships of ground objects, eliminates complex background interference, achieves accurate segmentation of ground objects pointed to in remote sensing images, and improves the precision of segmentation results.
Smart Images

Figure CN118570221A
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of image segmentation, and in particular relates to a multimodal remote sensing target segmentation method and system based on visual reference prompts, which is used for visual positioning of target-level ground object elements on satellite remote sensing images. Background Art
[0002] With the rapid development of remote sensing technology, the number and resolution of remote sensing images have also increased rapidly. In order to effectively process and retrieve remote sensing images, merging natural language with remote sensing images for processing has become a hot research topic. Although there have been many studies combining natural language processing (NLP) with remote sensing images, such as remote sensing image description, remote sensing image-text retrieval, and remote sensing visual question answering, the visual localization task of remote sensing data has not been fully explored. The purpose of this task is to locate the object referred to by the query expression in the remote sensing image. Specifically, multimodal deep learning is used to enable the computer to understand the image-text pair, so that the outline of the object referred to can be segmented from the image after the remote sensing image and natural language expression are given. Therefore, remote sensing visual localization makes it possible for ordinary users (not limited to professional researchers) to retrieve objects in remote sensing images, achieving better human-computer interaction. It has broad application prospects in scenarios such as military target detection, natural disaster monitoring, agricultural production, search and rescue activities, and urban planning.
[0003] Existing visual localization methods can be divided into two categories, namely two-stage methods and one-stage methods. Existing two-stage methods usually extend the general object detection framework (such as FasterR-CNN, Mask R-CNN) to solve the visual localization task, such as MAttNet, Ref-NMS, which use the existing detection framework to generate some candidate boxes from the image in the first stage, and then match the candidate boxes with text features in the second stage to select the top-ranked candidate boxes. These two-stage methods rely heavily on the performance of pre-trained detectors or candidate box generators, and if the object described by the text is not detected in the first stage, then the second stage will not be able to output the correct detection result even if it is excellent. In some of the latest works, one-stage methods are used a lot, which can detect the location of the object without generating candidate boxes in advance. For example, FAOA fuses image and text features and uses the detector of YOLOv3; ReSC proposes an iterative sub-query framework to solve the defects of long language query modeling; TransVG uses a Transformer-based structure to fuse the two modalities and directly predict the location of the target object. Compared with the Two-stage method, the One-stage method is more efficient.
[0004] However, previous experimental results show that when the visual positioning method based on natural images is applied to remote sensing images, good results cannot be obtained. The reason is that the background content of remote sensing images contains a large number of objects that are irrelevant to the query, but natural images usually have significant objects. When the model trained on natural images is applied to remote sensing images, it is often difficult to accurately segment the indicated objects because there are a large number of redundant background features in addition to the indicated objects in remote sensing images. Summary of the invention
[0005] In view of the shortcomings of existing remote sensing target segmentation methods, this paper adopts a large visual-language model to build a network, and designs a remote sensing scene knowledge embedding module to address the problems of cluttered background and complex content of remote sensing images, which enhances the model's understanding of the contextual relationship of objects and obtains image features embedded with scene knowledge. The extracted visual features and language instructions are then used to construct visual reference prompts, and finally a decoder based on a large language model is used for reasoning to obtain accurate target segmentation results.
[0006] The technical solution adopted by the present invention is: a multimodal remote sensing target segmentation method based on visual reference prompts, comprising the following steps:
[0007] Step 1: Establish a sample library of remote sensing image datasets, divide the datasets into training and test datasets according to a certain ratio, and generate image descriptions embedded with remote sensing scene knowledge;
[0008] Step 2: construct a target segmentation model for training and testing. The target segmentation model includes three modules: a visual encoder, a linear projection layer, and a decoder based on a large language model. The visual encoder includes an image encoder and a text encoder.
[0009] The processing process of the target segmentation model is as follows: the remote sensing image and the image description embedded with remote sensing scene knowledge are input into the image encoder and the text encoder respectively, and then the encoded image features and text features are input into the cross attention module for modal interaction, so as to obtain the remote sensing image features embedded with scene knowledge; the image features from the visual encoder are aligned with the decoder based on the large language model in the feature space through the linear projection layer; then, the decoder based on the large language model generates the text of the bounding box of the indicated object to indicate its spatial position;
[0010] Step 3: Use the trained target segmentation model to achieve remote sensing target segmentation results.
[0011] Furthermore, in step 1, the indicative query text of the objects in the remote sensing image is first constructed, and then input into GPT-4 to generate a preliminary description of the corresponding image, and then the image description is manually improved to obtain the final description embedded with the remote sensing scene knowledge.
[0012] Furthermore, the indication query text is defined as a seven-tuple A = {category, color, size, shape, absolute position, relative position, relative size}; wherein the object category is directly obtained from the original data set; the color is obtained using the HSV color recognition method; the absolute size of the object is measured by the ratio of the bounding box area to the image size; for objects with fixed shapes, the geometric attribute shape is set in advance, and the geometric attribute shape of objects without descriptive geometric figures is empty; the absolute position refers to the position of the object in the image, which is determined by the coordinates of the bounding box; the relative position relationship is obtained by comparing the coordinates of the bounding boxes and center points of the two objects; and the relative size relationship is determined by comparing the ratio of the bounding box areas of the two objects to the image sizes.
[0013] Furthermore, the image encoder adopts the Vision transformer model, and the text encoder adopts the BERT model;
[0014] The cross-attention module consists of three parts: self-attention layer, cross-attention layer and feed-forward layer.
[0015] Furthermore, the decoder based on the large language model adopts the open source LLaMA2-chat model. First, the extracted image visual features and the indicated query text are combined to generate visual reference cues as the input of the LLaMA2-chat model, and the text of the bounding box of the indicated object is generated to represent its spatial position, that is, { <X left > <Y top > <X right > <Y bottom >}, the coordinate values are expressed as integer values normalized to [0,100]. <X left > and <Y top > represents the horizontal and vertical coordinates of the upper left corner of the generated bounding box, <X right > and <Y bottom > represents the horizontal and vertical coordinates of the lower right corner.
[0016] Furthermore, in step 2, the loss function is used to train the constructed target segmentation model. There are two types of loss functions: generalized intersection-over-union loss function L GIoU and smooth L1 loss function L smooth_L1 ;
[0017] The final loss function L total The expression is as follows:
[0018]
[0019] Among them, b represents the predicted value of the target box (x min ,y min ,x max ,y max ), Represents the true value of the target box x and y are the horizontal and vertical coordinates, and the subscripts min and max represent the minimum and maximum values respectively.
[0020] Furthermore, the generalized intersection-over-union loss function is as follows:
[0021]
[0022] Among them, C represents the minimum closure area of the true value and the predicted value; C is calculated as follows:
[0023]
[0024]
[0025]
[0026]
[0027] C=(x' max -x' min )×(y' max -y' min ).
[0028] Furthermore, the smoothed L1 loss function is as follows:
[0029]
[0030] The present invention also provides a multimodal remote sensing target segmentation system based on visual reference prompts, comprising the following steps:
[0031] The dataset construction module is used to establish a remote sensing image dataset sample library, divide the dataset into training and test datasets according to a certain ratio, and generate image descriptions embedded with remote sensing scene knowledge;
[0032] The target segmentation model construction module is used to construct the target segmentation model for training and testing. The target segmentation model includes three modules, namely, a visual encoder, a linear projection layer, and a decoder based on a large language model. The visual encoder includes an image encoder and a text encoder.
[0033] The processing process of the target segmentation model is as follows: the remote sensing image and the image description embedded with remote sensing scene knowledge are input into the image encoder and the text encoder respectively, and then the encoded image features and text features are input into the cross attention module for modal interaction, so as to obtain the remote sensing image features embedded with scene knowledge; the image features from the visual encoder are aligned with the decoder based on the large language model in the feature space through the linear projection layer; then, the decoder based on the large language model generates the text of the bounding box of the indicated object to indicate its spatial position;
[0034] The segmentation module is used to achieve remote sensing target segmentation results using the trained target segmentation model.
[0035] Compared with the prior art, the advantages and beneficial effects of the present invention are as follows:
[0036] (1) We constructed a multimodal dataset for visual localization in remote sensing, which improved the poor performance of general vision-language models in remote sensing. We introduced visual reference cues into multimodal remote sensing target segmentation and designed corresponding reference cues templates, making the final segmentation results more refined.
[0037] (2) The introduction of remote sensing scene knowledge requires the model to fully understand the image through the triple of image features, scene knowledge, and query expression, so as to eliminate the interference of complex background and accurately segment the indicated objects. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A schematic diagram of a neural network model for multimodal remote sensing target segmentation according to an embodiment of the present invention;
[0039] Figure 2 It is an overall flow chart of an embodiment of the present invention.
[0040] Figure 3 This is a segmentation result diagram of an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to facilitate ordinary technicians in the field to understand and implement the present invention, the present invention is further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the implementation examples described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0042] The present invention provides a multimodal remote sensing target segmentation method based on visual reference cues, which includes the following steps: the present invention uses a large visual-language model to construct a network, and designs a remote sensing scene knowledge embedding module to address the problems of cluttered background and complex content of remote sensing images, thereby enhancing the model's understanding of the contextual relationship of objects and obtaining image features embedded with scene knowledge. The extracted visual features and language instructions are then used to construct visual reference cues, and finally a decoder based on a large language model is used for reasoning to obtain accurate target segmentation results. The overall model structure is shown in FIG. Figure 1 Finally, end-to-end remote sensing target segmentation is achieved through the trained network.
[0043] Based on the structure of the model, the present invention provides a multimodal remote sensing target segmentation method based on visual reference prompts, and the specific implementation steps are as follows:
[0044] Step 1: Establish a training set sample library and divide the data set into training and test data sets according to a certain ratio;
[0045] The visual positioning dataset should consider the properties of the object itself and the relationship between objects. Object properties include spatial position, size, geometry, visual color, etc. These relationships include position relationship, size relationship, etc. In the implementation example of the present invention, the existing target detection dataset DIOR is selected as the basic data, and a new visual positioning dataset is constructed on this basis. The dataset is processed in advance to divide it into 80% as a training set, 10% as a validation set, and 10% as a test set for experiments. The dataset contains the following parts:
[0046] (1) The DIOR dataset includes 23,463 remote sensing images, 192,472 object instances, and 20 object categories. The image size is 800 × 800 pixels, and the spatial resolution ranges from 0.5 to 30 m. During the screening process, the data containing annotation errors in the DIOR dataset are first deleted, such as x min ≥x max or min ≥y max (x min ,x max ,y min ,y max The coordinates representing the true value). Then remove the samples whose bounding box is smaller than 1% or larger than 99% of the image size. In addition, no more than 5 objects of the same category are sampled in each remote sensing image to avoid ambiguous references caused by many objects of the same category in the image. Finally, 4,000 high-quality image samples and bounding box coordinates are obtained.
[0047] (2) For the image sample set obtained above, the corresponding indication query text is also designed. By analyzing the visual positioning datasets from the real world, such as RefItGame, RefCOCO and RefCOCO+, a set of attributes commonly used in indication query text is summarized and defined as a seven-tuple A = {category, color, size, shape, absolute position, relative position, relative size}. Among them, the object category can be obtained directly from the original DIOR dataset; the color can be obtained using the HSV color recognition method; the absolute size of the object is measured by the ratio of the bounding box area to the image size; for some objects with fixed shapes, such as rectangular basketball courts and circular storage tanks, the geometric attributes are set to rectangle and circle in advance, while the geometric attributes of some objects without describable geometric figures are empty and set to NULL, such as airports and golf courses; the absolute position refers to the position of the object in the image, which is determined by the coordinates of the bounding box. The above five attributes are the attributes of the object itself, while the relative position and relative size are relational attributes because they are associated with another object. By comparing the coordinates of the bounding boxes and center points of the two objects, the relative position relationship is obtained; and the relative size relationship is determined by comparing the ratio of the bounding box area of the two objects to the image size. So far, for any object, by combining the above seven attributes, the corresponding indication query text is obtained.
[0048] (3) Similarly, the present invention also generates an image description embedded with remote sensing scene knowledge for each image. For each given image, based on the definition rules in (2), an indication query text of the five objects in the image is constructed, and then input into GPT-4 to generate a preliminary description of the corresponding image, and then the image description is manually improved. This process follows the following three principles: knowledge relevance, uniqueness, and diversity. Knowledge relevance means that the description must be highly relevant to the knowledge, rather than directly distinguished by vision, such as understanding the attributes of the land in the image, rather than just describing the corresponding objects. Uniqueness means that the same category of objects in remote sensing images are often numerous and dense, and the only indication query object should be clearly indicated. Diversity means that the vocabulary expressions of the referenced objects and query sentences should be diverse. The image description is then manually improved to obtain the final description embedded with remote sensing scene knowledge.
[0049] Step 2: Build a model network for training and testing;
[0050] The object segmentation model of the present invention mainly includes three modules, namely, a visual encoder, a linear projection layer and a decoder based on a large language model. The specific implementation is as follows:
[0051] The visual encoder includes two models: Image Encoder and Text Encoder. Image Encoder is used to extract image features using the Vision Transformer model, while Text Encoder is used to extract text features using the BERT model commonly used in NLP. Figure 1 As shown, for a given image I, an image encoder is used to encode it into image visual features H I ; The corresponding image description K is encoded into knowledge features H using a language encoder K , and then embed the scene knowledge into the image visual features to obtain the image visual features embedded with the scene knowledge. The embedding process is implemented using the cross-attention module, which consists of three parts: self-attention layer, cross-attention layer and feed-forward layer. The formula of the attention mechanism can be expressed as:
[0052]
[0053] In the formula, Q, K, and V represent query, index, and content vectors, respectively. ATTN represents attention, and softmax is a function used to convert multi-classification output values into probability distributions. In the self-attention layer, the image visual features are transformed into probability distributions through H I =ATTN(H I ,H I ,H I ) for learning; in the cross attention layer, through H I′ =ATTN(H I ,H K ,H K ) embeds scene knowledge into image features. The feedforward layer is located after the self-attention and cross-attention layers. It performs independent nonlinear transformations on the output of each position. This design allows the feedforward layer to add additional levels of abstraction while maintaining the information position, further enhancing the expressiveness of the model.
[0054] The linear projection layer uses a fully connected layer to bridge the modality gap and align the image visual features from the visual encoder with the language features from the large language model; the reasons are as follows:
[0055] (1) Dimensionality unification and feature conversion: Often, visual features and language features may not match in dimension. For example, a visual encoder may output a higher-dimensional feature vector, while a language model may output a lower-dimensional feature vector. Using a linear layer, these features can be mapped into a common dimensional space, facilitating subsequent processing and analysis.
[0056] (2) Feature fusion: Through this alignment, the model is able to fuse visual and language information together to create a comprehensive representation, which helps the model better understand and generate complex queries and responses about images and text.
[0057] (3) Learning cross-modal relationships: This alignment also enables the model to learn deep relationships between visual and linguistic information. For example, the model may need to understand the visual correspondence between the word "apple" and the apple shown in the image.
[0058] However, the 448x448 image size after preprocessing still produces too many patches, which not only reduces the processing efficiency of context input in large language models, but also places high demands on hardware resources. Therefore, the tokens of every 4 adjacent image visual features are concatenated as a whole, thereby reducing the total number of tokens by 4 times. Convert to embedding in language space Where N is the number of tokens, D is the hidden dimension size of the visual encoder, and d is the hidden dimension size of the large language model.
[0059] The large language model-based decoder uses the open source LLaMA2-chat (7B) as the language model backbone network, combines the previously extracted image visual features and the indicative query text, and generates visual reference prompts as input. For this purpose, a corresponding template is designed:
[0060] [INST] <imagefeature>Instruction[ / INST]
[0061] In this template, [INST] is considered a user role, and [ / INST] is considered an assistant role. The pair of labels is used to mark the beginning and end of the image data. The visual reference cues are divided into two parts. The first part <imagefeature>represents the visual features after alignment through the linear projection layer. The second part Instruction is the input instruction query text. The entire template can be specifically expressed as
[0062] ###Human: <imagefeature>Where can I locate the grayoverpass on the right? ###Assistant:
[0063] Among them, ###Human: is [INST], ###Assistant: is [ / INST]; then the visual reference prompt is input into the decoder based on the large language model to generate the text of the bounding box of the indicated object to indicate its spatial position, such as { <X left > <Y top > <X right > <Y bottom >}, the X and Y coordinates are expressed as normalized integer values in the range [0,100]. <X left > and <Y top > represents the x and y coordinates of the upper left corner of the resulting bounding box, <X right > and <Y bottom > represents the x and y coordinates of the lower right corner.
[0064] The loss functions used in the present invention include two types, a generalized intersection-over-union loss function and a smoothed L1 loss function.
[0065] The generalized intersection-over-union loss function is as follows:
[0066]
[0067] Among them, b represents the predicted value of the target box (x min ,y min ,x max ,y max ), Represents the true value of the target box The subscripts min and max represent the minimum and maximum values respectively, and C represents the minimum closure area of the true value and the predicted value, which is calculated as follows:
[0068]
[0069]
[0070]
[0071]
[0072] C=(x' max -x' min )×(y' max -y' min )
[0073] The smoothed L1 loss function is as follows:
[0074]
[0075] Among them, b represents the predicted value of the target box (x min ,y min ,x max ,y max ), Represents the true value of the target box
[0076] The final expression of the loss function is as follows:
[0077]
[0078] The remote sensing target segmentation model designed in step 2 takes into account the number of network parameters and the amount of training data. The method of freezing the pre-trained model weights for fine-tuning is used. AdamW is used as the optimizer and the learning rate is set to 10. -5 The cosine learning rate scheduler can effectively train the remote sensing target segmentation model. After the network training is completed, the network weights are saved in the ckpt file. With the help of the ckpt file, the remote sensing target segmentation can be performed end-to-end directly through the input remote sensing image and the final result can be output.
[0079] Step 3: Use the trained target segmentation model to achieve the remote sensing target segmentation result. The final result is as follows: Figure 3 As shown in the figure, it can be seen that a remote sensing image and an indication query text (the first line of text in the figure) are input. The feature indicated in the text is the baseball field at the bottom of the figure. The final model can recognize and infer the specific location of the feature indicated by the text, and mark it in the form of a red rectangular box. The coordinates of the four corner points of the red box are the percentage positions relative to the upper left corner of the image (the 4 values in the second line of the figure represent the coordinates), which helps to accurately describe and locate the features.
[0080] In specific implementation, the present invention may use computer software technology to realize the automatic operation process, and the device running the process of the present invention should also be within the scope of protection. The embodiment of the present invention also provides a multi-modal remote sensing target segmentation system based on visual reference prompts, including the following steps:
[0081] The dataset construction module is used to establish a remote sensing image dataset sample library, divide the dataset into training and test datasets according to a certain ratio, and generate image descriptions embedded with remote sensing scene knowledge;
[0082] The target segmentation model construction module is used to construct the target segmentation model for training and testing. The target segmentation model includes three modules, namely, a visual encoder, a linear projection layer, and a decoder based on a large language model. The visual encoder includes an image encoder and a text encoder.
[0083] The processing process of the target segmentation model is as follows: the remote sensing image and the image description embedded with remote sensing scene knowledge are input into the image encoder and the text encoder respectively, and then the encoded image features and text features are input into the cross attention module for modal interaction, so as to obtain the remote sensing image features embedded with scene knowledge; the image features from the visual encoder are aligned with the decoder based on the large language model in the feature space through the linear projection layer; then, the decoder based on the large language model generates the text of the bounding box of the indicated object to indicate its spatial position;
[0084] The segmentation module is used to achieve remote sensing target segmentation results using the trained target segmentation model.
[0085] The specific implementation method of each module is the same as each step and will not be described in detail in the present invention.
[0086] It should be understood that the above description of the preferred embodiment is relatively detailed and cannot be regarded as limiting the scope of patent protection of the present invention. Under the enlightenment of the present invention, ordinary technicians in this field can also make substitutions or modifications without departing from the scope of protection of the claims of the present invention, which all fall within the scope of protection of the present invention. The scope of protection requested for the present invention shall be based on the attached claims.< / imagefeature> < / imagefeature> < / imagefeature>
Claims
1. A multimodal remote sensing target segmentation method based on visual reference cues, characterized in that: The steps include: Step 1: Establish a sample library of remote sensing image datasets, divide the datasets into training and test datasets according to a certain ratio, and generate image descriptions embedded with remote sensing scene knowledge; Step 2: construct a target segmentation model for training and testing. The target segmentation model includes three modules: a visual encoder, a linear projection layer, and a decoder based on a large language model. The visual encoder includes an image encoder and a text encoder. The processing process of the target segmentation model is as follows: the remote sensing image and the image description embedded with remote sensing scene knowledge are input into the image encoder and the text encoder respectively, and then the encoded image features and text features are input into the cross attention module for modal interaction, so as to obtain the remote sensing image features embedded with scene knowledge; the image features from the visual encoder are aligned with the decoder based on the large language model in the feature space through the linear projection layer; then, the decoder based on the large language model generates the text of the bounding box of the indicated object to indicate its spatial position; Step 3: Use the trained target segmentation model to achieve remote sensing target segmentation results.
2. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 1, characterized in that: In step 1, we first construct the query text indicating the objects in the remote sensing image, and then input it into GPT-4 to generate a preliminary description of the corresponding image. The image description is then manually improved to obtain the final description embedded with remote sensing scene knowledge.
3. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 2, characterized in that: The indicated query text is defined as a seven-tuple A = {category, color, size, shape, absolute position, relative position, relative size}; the object category is directly obtained from the original data set; the color is obtained using the HSV color recognition method; the absolute size of the object is measured by the ratio of the bounding box area to the image size; for objects with fixed shapes, the geometric attribute shape is set in advance, and the geometric attribute shape of objects without descriptive geometric figures is empty; the absolute position refers to the position of the object in the image, which is determined by the coordinates of the bounding box; The relative position relationship is obtained by comparing the coordinates of the bounding boxes and center points of the two objects; while the relative size relationship is determined by comparing the ratio of the bounding box area of the two objects to the image size.
4. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 1, characterized in that: The image encoder adopts the Vision transformer model, and the text encoder adopts the BERT model; The cross-attention module consists of three parts: self-attention layer, cross-attention layer and feed-forward layer.
5. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 1, characterized in that: The decoder based on the large language model adopts the open source LLaMA2-chat model. First, the extracted image visual features and the indicated query text are combined to generate visual reference cues as the input of the LLaMA2-chat model, and the text of the bounding box of the indicated object is generated to represent its spatial position, that is, { <X left > <Y top > <X right > <Y bottom >}, the coordinate values are expressed as integer values normalized to [0,100]. <X left > and <Y top > represents the horizontal and vertical coordinates of the upper left corner of the generated bounding box, <X right > and <Y bottom > represents the horizontal and vertical coordinates of the lower right corner.
6. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 1, characterized in that: In step 2, the constructed target segmentation model is trained using the loss function. There are two types of loss functions: generalized intersection-over-union loss function L GIoU and smooth L1 loss function L smooth_L1 ; The final loss function L total The expression is as follows: Among them, b represents the predicted value of the target box (x min ,y min ,x max ,y max ), Represents the true value of the target box x and y are the horizontal and vertical coordinates, and the subscripts min and max represent the minimum and maximum values respectively.
7. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 6, characterized in that: The generalized intersection-over-union loss function is as follows: Among them, C represents the minimum closure area of the true value and the predicted value; C is calculated as follows: C=(x' max -x' min )×(and' max -and' min )。 8. The multimodal remote sensing target segmentation method based on visual reference cues according to claim 6, characterized in that: The smoothed L1 loss function is as follows:
9. A multimodal remote sensing target segmentation system based on visual reference cues, characterized in that: The steps include: The dataset construction module is used to establish a remote sensing image dataset sample library, divide the dataset into training and test datasets according to a certain ratio, and generate image descriptions embedded with remote sensing scene knowledge; The target segmentation model construction module is used to construct the target segmentation model for training and testing. The target segmentation model includes three modules, namely, a visual encoder, a linear projection layer, and a decoder based on a large language model. The visual encoder includes an image encoder and a text encoder. The processing process of the target segmentation model is as follows: the remote sensing image and the image description embedded with remote sensing scene knowledge are input into the image encoder and the text encoder respectively, and then the encoded image features and text features are input into the cross attention module for modal interaction, so as to obtain the remote sensing image features embedded with scene knowledge; the image features from the visual encoder are aligned with the decoder based on the large language model in the feature space through the linear projection layer; then, the decoder based on the large language model generates the text of the bounding box of the indicated object to indicate its spatial position; The segmentation module is used to achieve remote sensing target segmentation results using the trained target segmentation model.
Citation Information
Cited By
Remote sensing image segmentation method and device
CN119152213A
Method for accurately judging acupuncture points based on artificial intelligence
CN119580310A
Remote sensing image segmentation method based on cross-modal vision-text fusion
CN119600040A
Asteroid multi-stage surface feature recognition and surface feature analysis method
CN119693717A
Remote sensing image anaphora segmentation method and system based on multi-mode prompt
CN120783046A
