A method and device for interpreting remote sensing elements of aquaculture sea
By cropping images in the remote sensing feature set space of the aquaculture sea and performing cluster analysis, calculating salient features, and training neural models, the problem of low accuracy and poor robustness of remote sensing interpretation of the aquaculture sea in the existing technology is solved, and the More efficient interpretation accuracy and stability promote the sustainable development of the marine aquaculture industry.
Patent Information
- Application Number
- CN202410976988.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-07-22
AI Technical Summary
The existing technology has low accuracy and poor robustness in remote sensing interpretation of aquaculture seas. Especially due to the complex marine environment, the aquaculture sea elements in remote sensing images are large in number, densely distributed, have complex spectral information, blurred boundaries and serious 'adhesion'. As a result, traditional methods require a lot of manual intervention, and when deep learning networks process large remote sensing images, sample annotation is time-consuming, the effect is unstable, and multi-scale semantic information is lost.
By cropping the image within the spatial distribution range of the aquaculture sea remote sensing feature set, using cluster analysis to segment the image into multiple large-scale clusters, calculating salient features, and making samples based on these features for neural model training, the well-trained The element interpretation model improves the interpretation accuracy.
It improves the accuracy and efficiency of interpretation of remote sensing elements for aquaculture, reduces manual intervention, enhances the stability of the model and its ability to process multi-scale semantic information, improves resource utilization efficiency, and provides sustainable solutions for the marine aquaculture industry. Theoretical and data support for development.
Smart Images

Figure CN118521901B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of element interpretation, and in particular to a method and device for interpreting remote sensing elements of aquaculture seas. Background Art
[0002] Seas for aquaculture refer to the production activities of aquatic organisms aquaculture in the ocean area using suitable marine resources, including but not limited to the aquaculture of fish, shrimp, crab, shellfish, algae and marine delicacies. Seas for aquaculture are mainly divided into open aquaculture and enclosed sea aquaculture. Enclosed sea aquaculture refers to the aquaculture method of enclosing or semi-enclosed aquaculture by building embankments and enclosing the sea area. Open aquaculture refers to the aquaculture method of aquaculture in sea areas without physical boundary restrictions. Among them, open aquaculture can be divided into raft aquaculture, cage aquaculture, bottom seeding aquaculture, and net aquaculture.
[0003] Since remote sensing technology can provide large-scale, high-time monitoring data, most of the current aquaculture sea surveys are conducted by combining field surveys and measurements with remote sensing technology. Usually, field investigators go to the target aquaculture sea area to conduct on-site field surveys and measurements and visit farmers to understand the scale, longitude and latitude, area and other information of the aquaculture area, and at the same time combine the results of in-house remote sensing interpretation to correct deviations. The commonly used techniques for in-house remote sensing interpretation mainly include two methods: manual interactive visual interpretation and automatic / semi-automatic interpretation. Manual interactive visual interpretation is to analyze and interpret remote sensing image data by professional technicians to identify aquaculture sea elements. This method has high extraction accuracy, but it is labor-intensive, time-consuming and inefficient. Automatic / semi-automatic interpretation methods are generally traditional pixel-level methods, mainly including threshold segmentation, edge detection, supervised / unsupervised learning, etc. The threshold segmentation method determines the threshold through histogram segmentation or OTSU algorithms, and separates the aquaculture sea elements from the binary image; the edge detection method extracts the edge of the aquaculture sea elements through the edge gradient operator, and the supervised / unsupervised classification classifies the image through the prior features or similarity attributes of the pixels to identify the aquaculture sea elements. These methods are only effective when the image quality is very good, the aquaculture sea elements are independent and the boundaries are very clear. However, due to the complex marine environment, the aquaculture sea elements in remote sensing images have the characteristics of large number, dense distribution, complex spectral information, blurred boundaries, and severe "adhesion". The use of traditional remote sensing technology in the remote sensing interpretation of aquaculture sea elements has low accuracy and poor robustness, and requires a lot of manual intervention. It is urgent to combine emerging technologies to improve the accuracy and efficiency of remote sensing interpretation of aquaculture sea elements, and provide theoretical and data support for promoting the sustainable development of marine aquaculture, protecting the marine ecological environment, and improving resource utilization efficiency.
[0004] With the development of deep learning, deep learning technology has made it possible to automate the remote sensing interpretation of aquaculture sea elements. At present, some scholars have used FCN, U-Net, DeepLabv3+, transformer and other networks in the remote sensing interpretation, and achieved good results. However, due to the complex spectral information, blurred boundaries and severe "adhesion" of aquaculture sea elements in remote sensing images, these networks are applied to the extraction of aquaculture sea elements. On the one hand, since a large number of people with interpretation experience are required to perform manual work when labeling samples, there are currently no open source samples of aquaculture sea elements. Therefore, the existing improved networks are mostly experimented with a small number of samples, and the improvement effect is unstable; on the other hand, since these networks need to be cropped into small image blocks when processing large remote sensing images, the multi-scale semantic information of aquaculture sea elements and the hierarchical dependency relationship between them and the surrounding environment will be lost, and they will be seriously disturbed and have low interpretation accuracy. Summary of the invention
[0005] Based on this, it is necessary to provide a method and device for interpreting remote sensing elements of aquaculture seas that can improve the accuracy of interpretation in response to the above-mentioned technical problems.
[0006] In a first aspect, the present application provides a method for interpreting remote sensing elements of aquaculture seas, the method comprising:
[0007] Clip the imagery within the spatial distribution range of the remote sensing feature set for aquaculture seas;
[0008] The image is segmented into multiple large-scale clusters through cluster analysis, and the significant features of aquaculture sea elements are calculated based on multiple large-scale clusters.
[0009] Samples are made according to the significant features, and the neural model is trained using the samples to obtain a trained factor interpretation model;
[0010] The remote sensing image elements to be interpreted are input into the trained element interpretation model to obtain the element interpretation results.
[0011] In one embodiment, the significant features of the marine aquaculture elements are calculated based on multiple large-scale clusters, including:
[0012] The significant features of each of the multiple large-scale clusters are calculated according to the following formula:
[0013] ;
[0014] Among them, is the significant feature of water cluster p, is the set of all adjacent water clusters of p, q is any adjacent water cluster of p, is the adjacent edge length of p and q, and represents the NDVI of p and q respectively.
[0015] In one embodiment, preparing a sample based on significant features includes:
[0016] Convert the annotation vectors based on the large visual model SAM into raster data;
[0017] According to the significant features, the remote sensing image is clipped according to the minimum bounding rectangle and the raster data is labeled to produce samples.
[0018] In one embodiment, after segmenting the image into a plurality of large-scale clusters by cluster analysis, the method further comprises:
[0019] Spatial domain denoising is performed on each of the multiple large-scale clusters to obtain a denoised cluster.
[0020] In one embodiment, after segmenting the image into a plurality of large-scale clusters by cluster analysis, the method further comprises:
[0021] Spatial domain denoising is performed on each of the multiple large-scale clusters to obtain a denoised cluster.
[0022] In one embodiment, the image is segmented into a plurality of large-scale clusters by cluster analysis, including:
[0023] Perform similarity calculation on each of the multiple large-scale clusters to obtain clusters after similarity calculation;
[0024] Perform weight calculation on the clusters after similarity calculation to obtain the clusters after weight calculation;
[0025] The grayscale value of the cluster after weight calculation is updated to obtain the updated cluster.
[0026] In a second aspect, the present application also provides a device for interpreting remote sensing elements of aquaculture sea, the device comprising:
[0027] The clipping module is used to clip the image within the spatial distribution range of the remote sensing element set for aquaculture sea;
[0028] The segmentation module is used to segment the image into multiple large-scale clusters through cluster analysis, and calculate the significant features of the aquaculture sea elements based on the multiple large-scale clusters;
[0029] The training module is used to prepare samples according to the significant features and use the samples to train the neural model to obtain a trained feature interpretation model;
[0030] The input module is used to input the remote sensing image elements to be interpreted into the trained element interpretation model to obtain the element interpretation results.
[0031] The above-mentioned method for interpreting remote sensing elements of aquaculture seas is to clip images within the spatial distribution range of the remote sensing element set for aquaculture seas; to divide the images into multiple large-scale clusters through cluster analysis, and to calculate the significant features of the aquaculture sea elements based on the multiple large-scale clusters; to prepare samples based on the significant features, and to train the neural model using the samples to obtain a trained element interpretation model; to input the remote sensing image elements to be interpreted into the trained element interpretation model to obtain the element interpretation results. The method for interpreting remote sensing elements of aquaculture seas of the present application can improve the interpretation accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A schematic diagram of a flow chart of a method for interpreting remote sensing elements of aquaculture seas provided in accordance with an embodiment of the present application;
[0033] Figure 2 The entire implementation process of a method for interpreting remote sensing elements of aquaculture sea provided in an embodiment of the present application;
[0034] Figure 3 An algorithm flow for generating significant features according to an embodiment of the present application;
[0035] Figure 4 A schematic diagram of an RS Mamba network provided according to an embodiment of the present application;
[0036] Figure 5 A schematic diagram of a process for preparing a sample according to the significant features provided in an embodiment of the present application;
[0037] Figure 6 The present invention provides a general flow chart of sample preparation based on SAM and Fast AutoAugment according to an embodiment of the present application.
[0038] Figure 7 The entire implementation process of sample production provided according to the embodiments of this application;
[0039] Figure 8 An example diagram of the marking process provided according to an embodiment of the present application;
[0040] Fig. 9 A schematic diagram of the Fast AutoAugment algorithm provided according to an embodiment of the present application;
[0041] Fig.10 The present invention is a structural block diagram of a device for interpreting remote sensing elements of aquaculture sea in one embodiment. DETAILED DESCRIPTION
[0042] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] Due to the complex marine environment, aquaculture sea elements have the characteristics of large number, dense distribution, complex spectral information, blurred boundaries, and severe "adhesion" in remote sensing images. The use of traditional remote sensing technology in the remote sensing interpretation of aquaculture sea elements has low accuracy and poor robustness, and requires a lot of manual intervention. It is urgent to combine emerging technologies to improve the accuracy and efficiency of remote sensing interpretation of aquaculture sea elements, and provide theoretical and data support for promoting the sustainable development of marine aquaculture, protecting the marine ecological environment, and improving resource utilization efficiency. With the development of deep learning, deep learning technology has made it possible to automate the remote sensing interpretation of aquaculture sea elements. At present, some scholars have used FCN, U-Net, DeepLabv3+, transformer and other networks in the remote sensing interpretation, and achieved good results. However, due to the complex spectral information, blurred boundaries and severe "adhesion" of aquaculture sea elements in remote sensing images, these networks are applied to the extraction of aquaculture sea elements. On the one hand, since a large number of people with interpretation experience are required to perform manual work when labeling samples, there are currently no open source samples of aquaculture sea elements. Therefore, the existing improved networks are mostly experimented with a small number of samples, and the improvement effect is unstable; on the other hand, since these networks need to be cropped into small image blocks when processing large remote sensing images, the multi-scale semantic information of aquaculture sea elements and the hierarchical dependency relationship with the surrounding environment will be lost, and they will be seriously disturbed and have low interpretation accuracy. Based on this, the embodiment of the present application provides a method for interpreting remote sensing elements of aquaculture sea to improve the above technical problems.
[0044] In one embodiment, Figure 1 is a flow chart of a method for interpreting remote sensing elements of aquaculture sea provided in an embodiment of the present application, Figure 2 This is the entire implementation process of a method for interpreting remote sensing elements for aquaculture provided in an embodiment of the present application, and is described by taking the method applied to a server as an example. The method includes the following steps:
[0045] S101, clip the imagery within the spatial distribution range of the remote sensing feature set for aquaculture seas.
[0046] Optionally, a vector surface can be constructed with the newly surveyed coastline as the center line, expanding 10 km on the shore side and to the outer limit of the territorial sea on the offshore side (if there is no outer limit, it can be replaced by the outer limit of the provincial functional zoning). The marine prohibited development areas in the vector surface can be eliminated according to the main functional areas of the sea area, and this can be used as a clipping image of the spatial distribution range of aquaculture sea elements.
[0047] Optionally, before this, it is necessary to collect image data and pre-process the image data. Specifically, collect multi-source meter-level and sub-meter-level multispectral and hyperspectral images as the data source for interpretation, and screen the images according to the principle of small inter-class gap, large intra-class gap, and more distribution of aquaculture sea elements. At the same time, collect coastlines, main functional areas of sea areas, marine protected areas, China Fisheries Statistical Yearbook, National Aquaculture Sea Survey and other materials as auxiliary data. At the same time, pre-process the collected image data to ensure the accuracy and reliability of the images. Perform radiation correction, atmospheric correction, geometric correction, image fusion and other processing on multispectral and hyperspectral images to reduce errors caused by radiation, terrain, sensors, atmospheric scattering, absorption, reflection, etc., and improve image resolution; remove shadows, clouds, flares, etc. on all images, perform color adjustment, and eliminate images with severe color distortion and poor quality.
[0048] S102, segmenting the image into a plurality of large-scale clusters through cluster analysis, and calculating the significant features of the aquaculture sea elements based on the plurality of large-scale clusters.
[0049] Optionally, due to the location characteristics of the aquaculture sea area, the image background is mostly a large area of sea. Due to factors such as changes in water surface albedo, sea surface fluctuations, sea surface impurities, water quality and water depth, the seawater in the image has a complex texture, uneven color, and serious noise. In addition, affected by the growth stage of seaweed and fishing conditions, the aquaculture sea elements, especially the aquaculture sea elements below the water surface, have weak information on remote sensing images. The spectra of some raft aquaculture areas are similar to the spectra of the surrounding seawater, and the element boundaries are often fuzzy, with a "sticking" phenomenon. Therefore, denoising and enhancement processing are required to improve the accuracy of remote sensing interpretation of aquaculture sea elements. The present invention first divides the image into large-scale clusters through cluster analysis, then performs spatial denoising on the clusters, and finally calculates the significant features of the aquaculture sea elements to make the edges of weak aquaculture sea elements clearer. Among them, 1)-6) are operation steps for multispectral images, and 7) is an operation step for hyperspectral images. It is an optional operation and can be omitted in the absence of hyperspectral images. The specific significant feature generation algorithm flow is as follows Figure 3 .
[0050] 1) Preliminary noise removal. Construct a vector grid according to the image range, extract the values on the image as feature points based on the grid endpoints, discretize the image on the spatiotemporal continuous domain, and use the Kriging interpolation method for the discrete feature points to restore the image to the original spatial resolution and eliminate the speckle noise caused by illumination.
[0051] 2) Cluster analysis. The MeanShift algorithm is used to perform cluster analysis on the image, clustering the same objects on the image into segments, setting a larger bandwidth and iteration stop threshold to form large-scale clusters. The steps of the MeanShift algorithm are:
[0052] Select an initial sample point x in the image space, and make a high-dimensional sphere region with a radius of h with this point as the center. The offset vector at point x can be expressed as formula (1):
[0053] ; (1)
[0054] In the formula, k is the number of sample points falling in the high-dimensional ball area;
[0055] Sh is the set of y sample points that meet the conditions, as shown in formula (2):
[0056] (2)
[0057] With the end point of the offset vector of point x as the center of the circle, another high-dimensional ball region is generated, and during the iteration process, the local optimal solution on the density gradient is obtained along the gradient ascent direction.
[0058] After introducing the kernel function and sample weights, the offset vector M(x) can be expressed as formula (3):
[0059] ; (3)
[0060] In the formula, G(x) is the kernel function; h is the bandwidth; w(x) represents the weight of the sample point.
[0061] 3) Similarity calculation. Take each cluster as the search block, and for each pixel in the search block, calculate the similarity between all pixels in the local neighborhood window of the pixel and the pixel. The similarity calculation formula is (4):
[0062] (4)
[0063] Among them, d 2 is the similarity, B(x,f) is the neighborhood window centered on pixel x, size f is the neighborhood window, n is the number of image bands, y is the center pixel of any neighborhood window, u i (x) is the gray value of pixel x in the i-th band;
[0064] 4) Weight calculation. Calculate the weight w of the neighborhood window. Set the threshold T when calculating the weight and discard the neighborhood windows with similarity less than T. The weight calculation formula is formula (5):
[0065] ; (5)
[0066] Among them, h is a smoothing parameter that controls the attenuation of the Gaussian function. The larger it is, the higher the denoising level is and the blurrier the image is; the smaller it is, the lower the denoising level is, but the better the edge details are preserved. C(x) is the normalization coefficient.
[0067] 5) Gray value update. According to the filter weights of each neighborhood window, a convolution operation is performed to obtain the updated gray value as shown in formula (6):
[0068] = ; (6)
[0069] Where r is the search block size, It is the updated gray value of pixel x in band i.
[0070] 6) Calculation of significant features of multispectral images. For the aquaculture sea elements below the water surface, it is difficult to separate them using NDWI threshold segmentation due to the influence of the seawater background, but their NDVI values are higher than the seawater NDVI values. Therefore, the edge clarity of the aquaculture sea elements below the water surface is enhanced through NDVI significance calculation.
[0071] Step 1: Calculate the NDWI of each updated cluster, use the natural break point classification method to calculate the threshold of NDWI of each cluster, and separate the water bodies;
[0072] Step 2: Further clustering and segmentation of the water body using 2) is performed, and a smaller bandwidth and iteration stop threshold are set to separate the water body clusters and obvious aquaculture sea areas;
[0073] Step 3: Calculate the NDVI of the water clusters and use the following formula (7) to calculate the significant features of each water cluster:
[0074] ; (7)
[0075] Among them, O(P) is the significant feature of water cluster p, A(P) is the set of all adjacent water clusters of p, q is any adjacent water cluster of p, B(p,q) is the adjacent edge length of p and q, NDVI p and NDVI q represent the NDVI of p and q respectively.
[0076] 7) Hyperspectral image significant feature mapping. Combined with the multispectral significant features calculated in 6), the NSCT transform is used to process the hyperspectral image to enrich the spectral features for interpretation of aquaculture.
[0077] Step 1: Image spatial registration. Align the multispectral image salient feature map and the hyperspectral image in the spatial domain;
[0078] Step 2: Upsample the hyperspectral image HYP to make it similar to the multispectral image salient feature map The resolution is the same as , according to Hyperspectral bands To match the salient feature map O, we get a new salient feature map , as shown in formula (8):
[0079] ; (8)
[0080] in , O The mean and standard deviation of .
[0081] Step 3: Use NSCT to transform the two-layer decomposition The low-frequency component LF and the detail subband are obtained, and the high-frequency information HF of the new hyperspectral band is calculated according to the low-frequency component, as shown in formula (9):
[0082] ; (9)
[0083] Step 4: Projecting high-frequency information arrive In the above example, we generate significant candidate features. , as shown in formula (10):
[0084] ; (10)
[0085] Where n is the number of bands and * represents the dot product.
[0086] Step 5: Calculate the information entropy of each significant candidate feature and select the significant candidate feature with the largest information entropy as the hyperspectral image.
[0087] Among them, is the significant feature of water cluster p, is the set of all adjacent water clusters of p, q is any adjacent water cluster of p, is the adjacent edge length of p and q, and represents the NDVI of p and q respectively.
[0088] After the image is segmented into a plurality of large-scale clusters by cluster analysis, the method further comprises: performing spatial domain denoising on each of the plurality of large-scale clusters to obtain denoised clusters.
[0089] The image is segmented into multiple large-scale clusters through cluster analysis, including: performing similarity calculation on each of the multiple large-scale clusters to obtain clusters after similarity calculation; performing weight calculation on the clusters after similarity calculation to obtain clusters after weight calculation; and updating the grayscale values of the clusters after weight calculation to obtain updated clusters.
[0090] S103, creating samples according to the significant features, and using the samples to train the neural model to obtain a trained factor interpretation model.
[0091] Optionally, this step actually converts the logical architecture into a physical architecture, which involves mapping the functions defined in the behavioral model to the actual software modules, and needs to ensure the high performance and scalability of the software, while taking into account possible future technological developments and the integration of new requirements. The use of the MBSE approach, especially in combination with the Arcadia framework to design the system architecture of the electromagnetic field finite element simulation software, not only improves the efficiency of the design process, but also enhances the functionality and reliability of the software. With this approach, we can ensure that all design activities are strictly based on user needs, and ultimately achieve a powerful, user-friendly and efficient electromagnetic field simulation tool.
[0092] S104, inputting the remote sensing image elements to be interpreted into the trained element interpretation model to obtain element interpretation results.
[0093] Optional, compared with the foreground elements on natural images, the aquaculture sea elements on remote sensing images have a smaller size ratio, similar shapes within the class, and obvious environmental information (near the land-sea boundary area). The aquaculture areas in the eastern part of my country are generally regular in shape, mostly rectangular, while the aquaculture areas in the southern part are mostly built according to the terrain and have irregular shapes. Open aquaculture is mainly raft and cage aquaculture. Raft aquaculture is generally distributed in patches, showing black and dark patches, which are in sharp contrast with the color of the surrounding open sea areas. The water may be turbid, with floats and mooring equipment on the raft frame distributed in points or lines around it. Under lighting conditions, the raft frame will cast a certain shadow; a single ordinary cage in cage aquaculture presents a small area of rectangular or circular black shadow on the remote sensing image, with clear boundaries, small size and independent dispersion. Multiple ordinary cages are arranged in a concentrated manner, showing a cluster distribution form similar to "chessboard" or "honeycomb". Using traditional semantic segmentation networks may lose the rich semantic details of aquaculture sea features after multiple downsampling, and the small receptive field cannot extract large-scale spatial information. RSMamba first introduced Mamba into remote sensing for intensive prediction tasks of remote sensing images, using its linear complexity and global modeling capabilities to process remote sensing images. The RS-Mamba model can selectively scan remote sensing images in multiple directions, thereby extracting large-scale spatial features in multiple directions. Linear complexity feature extraction is achieved. The extracted features are gradually restored to the resolution of the original image through deconvolution layers and upsampling operations to achieve aquaculture sea features = 9.
[0094] Step 1: Training sample processing. Import the training samples and preprocess them, including normalizing the images and resizing them to meet the model input requirements. After data preprocessing, the processed samples can be converted into Pytorch tensors, and the DataLoader in Pytorch can be used to load the sample dataset for batch processing and input it into the model for training.
[0095] Step 2: RS-Mamba deployment and training. Figure 4 Schematic diagram of the RSMamba network according to an embodiment. The RS-Mamba model is constructed and deployed on a device containing a GPU, and training is performed in the RS-Mamba model. The RSM-SS model in the RS-Mamba model can realize the semantic segmentation of remote sensing images, and the OSSM model is used to capture multi-directional large-scale spatial features. The RSM-SS model is evaluated using Dice loss and Focal loss. The Dice coefficient is an indicator to measure the similarity between two samples, and is mainly used to evaluate the accuracy of image segmentation tasks. The Dice loss is a loss function based on the Dice coefficient, which aims to maximize the overlap between the predicted results and the true labels. The calculation formula of the Dice coefficient is as shown in formula (11):
[0096] ; (11)
[0097] Where: TP is the number of true positives (the model and the label both classify the pixel as positive), FP is the number of false positives (the model classifies the pixel as positive, but the label classifies it as negative), and FN is the number of false negatives (the model classifies the pixel as negative, but the label classifies it as positive). The calculation formula of DiceLoss is as follows:
[0098] ; (12)
[0099] Among them, Focal Loss is a loss function used to solve the problem of class imbalance. The calculation formula of Focal Loss is as follows:
[0100] ; (13)
[0101] Where: Rp is the model prediction result, Rt is the true label, which takes a value of 0 or 1, and γ is a tuning parameter used to balance the importance of easy-to-classify and difficult-to-classify samples. When Rt=1, the Focal Loss of the positive class is calculated. When Rt=0, the Focal Loss of the negative class is calculated.
[0102] Since the sizes of different images vary, the batch size is adjusted to 2 or 4, and the initial learning rate is 0.001. During the iterative training process, in order to ensure the convergence of the training model, the model is trained for at least 150 epochs. Forward propagation, loss calculation, and back propagation are performed on each batch to update the weight parameters of the model. After the training is completed, the trained model weights are saved, and the model is finally tested using the test samples. The accuracy, recall rate, and F1 score are calculated to continuously evaluate the model performance, and the hyperparameters of the model are adjusted until the model accuracy meets the requirements.
[0103] The above-mentioned method for interpreting remote sensing elements of aquaculture seas is to clip images within the spatial distribution range of the remote sensing element set for aquaculture seas; to divide the images into multiple large-scale clusters through cluster analysis, and to calculate the significant features of the aquaculture sea elements based on the multiple large-scale clusters; to prepare samples based on the significant features, and to train the neural model using the samples to obtain a trained element interpretation model; to input the remote sensing image elements to be interpreted into the trained element interpretation model to obtain the element interpretation results. The method for interpreting remote sensing elements of aquaculture seas of the present application can improve the interpretation accuracy.
[0104] Based on the above embodiments, Figure 5 The steps of making samples based on significant features are broken down and refined. Figure 5 As shown, the implementation process includes the following:
[0105] S401, converting the annotation vector established based on the large visual model SAM into raster data.
[0106] S402, based on the significant features, the remote sensing image is clipped according to the minimum bounding rectangle range and the raster data is labeled to produce a sample.
[0107] Figure 6 The figure shows a general flow chart of sample preparation based on SAM and Fast AutoAugment in one embodiment. Figure 7 The entire implementation process of sample production in one embodiment is shown, which specifically includes the following steps:
[0108] 1) SAM-assisted feature labeling. Due to the large number of marine aquaculture features and their dense distribution, labeling samples one by one requires a lot of manpower and time costs. SAM can segment any object in any image without any labeling, including objects and image types that have not been encountered during training. The model consists of three parts: image encoder, prompt encoder and mask decoder. The image encoder in SAM is used to generate a one-time image embedding, the prompt encoder is used to embed prompt information, and the mask decoder combines the prompt and image encoder embedding. It can be effectively applied to remote sensing image processing. Therefore, assisting SAM in labeling marine aquaculture features can effectively improve the efficiency of sample labeling. However, since the SAM model has no semantic segmentation, it requires manual input of prior points (boxes) or source code to guide the model, and requires higher computing resources. Processing remote sensing images is prone to memory overflow, so it is necessary to combine manual coarse positioning and prompt point generation algorithms for SAM-assisted feature labeling.
[0109] Step 1: Generate element envelope boundaries. Use the random forest method in ENVI to classify the remote sensing images after 1-2 processing. After classification and post-processing, vectorize the category containing the most types of aquaculture sea elements. Combined with the collected data such as the China Fisheries Statistical Yearbook and the National Aquaculture Sea Survey, use the visual interpretation method to roughly correct the boundary vector. The boundary does not need to completely fit the boundary of the aquaculture sea element, but only needs to ensure that the vector contains all aquaculture sea elements.
[0110] Step 2: Generate prior points. Use SAM's VIT-B model to automatically segment the image globally and generate a mask image. VIT-B has the fewest parameters among all SAM models and takes the least time to reason, so it can quickly obtain a global mask. Find the intersection of the mask image and the vector in the first step to obtain the potential prior point distribution range patch, and use the center point of each patch as the prior point;
[0111] Step 3: Import the prior points into SAM's VIT-H model for segmentation. VIT-H has the most parameters among all SAM models and has the best segmentation effect, which can obtain the accurate boundary of the aquaculture sea area. Manually fine-tune the segmentation vector results to ensure the accuracy of the boundary of the aquaculture sea element, and generate the annotation vector. See the example of the annotation process in Figure 8 .
[0112] 2) Sample production. Establish the minimum bounding rectangle of the annotation vector, convert the annotation vector into raster data, and cut the remote sensing image, significant features and annotated raster data according to the minimum bounding rectangle to produce samples. The sample size is selected according to the computer performance, and the overlap is 10%.
[0113] 3) Sample augmentation based on Fast AutoAugment. Sample augmentation can effectively improve the diversity and quality of samples and enhance the robustness of the model. For rafts and sea aquaculture samples with dense distribution and abundant data, geometric transformations such as flipping and rotation and color space transformations, brightness adjustment and other color transformations are used alone or in combination to augment the samples; for samples with scarce data such as cages and fish rafts, the sample augmentation method of Fast AutoAugment is used to find the best augmentation strategy, generate diversified training samples, and balance the uneven sample sizes of various types of aquaculture samples. The schematic diagram of the FastAutoAugment algorithm is shown below. Fig. 9 .
[0114] It can be understood that this embodiment provides a possible implementation method for producing samples based on significant features, which lays a foundation for the subsequent interpretation of remote sensing elements of aquaculture seas.
[0115] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0116] Based on the same inventive concept, the embodiment of the present application also provides a remote sensing element interpretation device for aquaculture seas for implementing the above-mentioned remote sensing element interpretation method for aquaculture seas. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the remote sensing element interpretation device for aquaculture seas provided below can refer to the limitations of the remote sensing element interpretation method for aquaculture seas above, and will not be repeated here.
[0117] In one embodiment, by Fig.10 The structure block diagram of a remote sensing element interpretation device for aquaculture is shown in an embodiment. Fig.10 In the embodiment, a device 10 for interpreting remote sensing elements of aquaculture sea is provided, the device 10 comprises: a clipping module 100, a segmentation module 101, a training module 102 and an input module 103, wherein:
[0118] A clipping module 100 is used to clip the image within the spatial distribution range of the remote sensing element set for aquaculture sea;
[0119] The segmentation module 101 is used to segment the image into a plurality of large-scale clusters through cluster analysis, and calculate the significant features of the aquaculture sea elements according to the plurality of large-scale clusters;
[0120] The training module 102 is used to prepare samples according to the significant features, and use the samples to train the neural model to obtain a trained factor interpretation model;
[0121] The input module 103 is used to input the remote sensing image elements to be interpreted into the trained element interpretation model to obtain the element interpretation results.
[0122] The above-mentioned aquaculture sea remote sensing element interpretation device clips the image within the spatial distribution range of the aquaculture sea remote sensing element set; divides the image into multiple large-scale clusters through cluster analysis, and calculates the significant features of the aquaculture sea elements based on the multiple large-scale clusters; makes samples based on the significant features, and uses the samples to train the neural model to obtain a trained element interpretation model; inputs the remote sensing image elements to be interpreted into the trained element interpretation model to obtain the element interpretation results. The aquaculture sea remote sensing element interpretation device of the present application can improve the interpretation accuracy.
[0123] In one embodiment, the segmentation module 101 is specifically used for:
[0124] The significant features of each of the multiple large-scale clusters are calculated according to the following formula:
[0125] ;
[0126] Among them, is the significant feature of water cluster p, is the set of all adjacent water clusters of p, q is any adjacent water cluster of p, is the adjacent edge length of p and q, and represents the NDVI of p and q respectively.
[0127] In one embodiment, the training module 102 is specifically used for:
[0128] The annotation vectors based on the large visual model SAM are converted into raster data; according to the significant features, the remote sensing image is cropped according to the minimum bounding rectangle range and the raster data is annotated to produce samples.
[0129] In one embodiment, after the segmentation module 101, the apparatus 10 is further configured to:
[0130] Spatial domain denoising is performed on each of the multiple large-scale clusters to obtain a denoised cluster.
[0131] In one embodiment, the segmentation module 101 is specifically used for:
[0132] A similarity calculation is performed on each of the multiple large-scale clusters to obtain a cluster after similarity calculation; a weight calculation is performed on the cluster after similarity calculation to obtain a cluster after weight calculation; and a gray value is updated on the cluster after weight calculation to obtain an updated cluster.
[0133] Each module in the above-mentioned aquaculture sea remote sensing element interpretation device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0134] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0135] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for interpreting remote sensing elements of aquaculture seas, It is characterized in that The method comprises: Clip the imagery within the spatial distribution range of the remote sensing feature set for aquaculture seas; Segmenting the image into a plurality of large-scale clusters by cluster analysis, and calculating the significant features of the aquaculture sea elements according to the plurality of large-scale clusters; Wherein, segmenting the image into a plurality of large-scale clusters by cluster analysis includes: The MeanShift algorithm is used to perform cluster analysis on the image, clustering the same objects on the image into segments, setting the bandwidth and iteration stop threshold to form large-scale clusters; The significant features of the aquaculture sea elements calculated based on the multiple large-scale clusters include: The significant features of each of the multiple large-scale clusters are calculated according to the following formula: ; Among them, O(P) is the significant feature of water cluster p, A(P) is the set of all adjacent water clusters of p, q is any adjacent water cluster of p, L(p,q) is the adjacent edge length of p and q, NDVIp and NDVIq represent the NDVI of p and q respectively; Creating samples according to the significant features, and using the samples to train a neural model to obtain a trained factor interpretation model; The remote sensing image elements to be interpreted are input into the trained element interpretation model to obtain element interpretation results.
2. The method according to claim 1, It is characterized in that The sample is prepared according to the significant features, including: Convert the annotation vectors based on the large visual model SAM into raster data; According to the significant features, the remote sensing image is clipped according to the minimum bounding rectangle and the raster data is labeled to produce samples.
3. The method according to claim 1, It is characterized in that After segmenting the image into a plurality of large-scale clusters by cluster analysis, the method further comprises: Perform spatial domain denoising on each of the multiple large-scale clusters to obtain a denoised cluster.
4. The method according to claim 3, It is characterized in that The image is segmented into multiple large-scale clusters through cluster analysis, including: Performing similarity calculation on each of the plurality of large-scale clusters to obtain clusters after similarity calculation; Perform weight calculation on the clusters after similarity calculation to obtain the clusters after weight calculation; The grayscale value of the cluster after weight calculation is updated to obtain the updated cluster.
5. A device for interpreting remote sensing elements of aquaculture seas, It is characterized in that The device comprises: The clipping module is used to clip the image within the spatial distribution range of the remote sensing element set for aquaculture sea; A segmentation module, used for segmenting the image into a plurality of large-scale clusters through cluster analysis, and calculating the significant features of the aquaculture sea elements according to the plurality of large-scale clusters; Wherein, segmenting the image into a plurality of large-scale clusters by cluster analysis includes: The MeanShift algorithm is used to perform cluster analysis on the image, clustering the same objects on the image into segments, setting the bandwidth and iteration stop threshold to form large-scale clusters; The significant features of the aquaculture sea elements calculated based on the multiple large-scale clusters include: The significant features of each of the multiple large-scale clusters are calculated according to the following formula: ; Wherein, O(P) is the significant feature of water cluster p, A(P) is the set of all adjacent water clusters of p, q is any adjacent water cluster of p, L(p,q) is the adjacent edge length of p and q, NDVIp and NDVIq represent the NDVI training modules of p and q respectively, which are used to prepare samples according to the significant features, and use the samples to train the neural model to obtain a trained feature interpretation model; The input module is used to input the remote sensing image elements to be interpreted into the trained element interpretation model to obtain the element interpretation results.
Citation Information
Patent Citations
Remote sensing object interpretation method based on focusing weight matrix and variable-scale semantic segmentation neural network
CN110490081A
Log clustering analysis method, device and equipment
CN115221012A
