Color prior guided correction method for cultivated land interpretation in thin cloud area of remote sensing image

By generating an initial color prior map and combining it with a local reflectivity matrix and a convolutional network, the interpretation error of cultivated land caused by high reflectivity features under thin cloud cover was solved, achieving high-precision cultivated land interpretation and improving the accuracy and efficiency of cultivated land monitoring.

CN122799321BActive Publication Date: 2026-11-27JIANGXI PROVINCIAL LAND & SPACE SURVEY & PLANNING RES INST
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611313661.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-08-27
Publication Date
2026-11-27
Estimated Expiration
2046-08-27

AI Technical Summary

Technical Problem

In optical remote sensing images, the interpretation results of farmland under thin cloud cover and high reflectivity features may show local boundary distortion or omissions, affecting the accuracy and efficiency of farmland monitoring.

Method used

An initial color prior map is generated by calculating the physical characteristics of the dark channel and color attenuation. The extreme value is truncated by combining the local reflectivity matrix. The feature difference matrix of thin cloud farmland is extracted by using a convolutional network. The boundary is corrected by using an orthogonal geometric constraint algorithm to generate the final farmland-specific interpretation vector map.

Benefits of technology

It improved the accuracy of farmland interpretation in thin cloud areas, eliminated the problems of misjudgment of thin cloud areas by high reflective ground features and boundary distortion, and improved the accuracy and efficiency of farmland monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122799321B_ABST
    Figure CN122799321B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of remote sensing image processing, and discloses a color prior guide correction method for cultivated land interpretation in a thin cloud area of a remote sensing image, which comprises the following steps: converting aerial multi-spectral images into surface physical reflectivity through radiation calibration; calculating dark channel and color attenuation prior to generate an initial color prior graph; combining a local reflectivity matrix to perform extreme value truncation to obtain a corrected color prior guide graph; converting the corrected color prior guide graph into a globally aggregated attention penalty term to extract a thin cloud cultivated land feature difference matrix; performing pixel-level classification and orthogonal geometric constraint boundary correction to output a cultivated land interpretation vector graph; and shielding error attention association by using physical reflectivity to truncate color prior distortion extreme values, thereby reducing the thin cloud omission rate and inhibiting cultivated land interpretation boundary distortion.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of remote sensing image processing technology, and in particular to a color priori guided correction method for interpreting farmland in thin cloud areas of remote sensing images. Background Technology

[0002] With the widespread application of remote sensing technology, land cover feature extraction based on optical remote sensing imagery has become an important means of farmland monitoring. In this field, a color-guided prior mechanism is often used to preprocess the image, generating a priori guiding map that reflects the spectral characteristics of land cover features. This is combined with nonlocal structure aggregation techniques to perform long-distance dependency correlation of global features, thereby enhancing the expressive ability for different land cover categories and improving interpretation accuracy in complex scenes. Such methods can effectively integrate global contextual information and improve the recognition performance in large, homogeneous areas.

[0003] In practical farmland interpretation, when optical remote sensing images are covered by semi-transparent thin clouds and high-reflectivity features are interspersed beneath the clouds, interpretation results may exhibit local boundary distortion or missed detections. Taking a farmland monitoring project as an example, the acquired image shows a farmland area covered by thin clouds surrounded by a series of plastic greenhouses, whose roofs appear brightly reflective in the image. After entering the processing flow, the system-generated color prior map shows abnormally low-value patches at the location of the greenhouses, and the patch shapes largely match the greenhouse outlines. During the global feature aggregation step, the system-generated attention association map shows that the pixels of the cloud-covered farmland are assigned a high association weight with the distant, cloudless, bright greenhouse pixels. In the final farmland extraction result, the boundary of the cloud-covered farmland area shows obvious outward folding or inward contraction deformation; the originally continuous farmland patches become broken, and some areas are even directly marked as construction land. This phenomenon leads to a large number of false change patches in the remote sensing monitoring of farmland conversion to non-agricultural uses, with frequent false alarms pointing to greenhouse areas in the monitoring results. This directly increases the workload of subsequent manual verification and reduces the efficiency of the overall monitoring process. Therefore, how to reduce the interpretation bias caused by highly reflective features under thin cloud cover during land feature extraction is an urgent problem to be solved in this field. Summary of the Invention

[0004] To address the shortcomings of existing technologies, the present invention aims to provide a color prior guidance correction method for interpreting farmland in thin cloud areas of remote sensing images. This method generates an initial color prior map by calculating the dark channel and color attenuation physical characteristics. Then, it combines this with local reflectance matrix for extreme value truncation to obtain a corrected color prior guidance map. Finally, it combines features extracted by a convolutional network to generate a thin cloud farmland feature difference matrix, ultimately outputting a farmland-specific interpretation vector map, thereby improving the accuracy of farmland interpretation in thin cloud areas.

[0005] To achieve the above objectives, the present invention adopts the following technical solution:

[0006] In a first aspect, the present invention provides a color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images, comprising:

[0007] Aerial multispectral images of the target's underlying surface are acquired using an airborne optical remote sensing sensor. The physical radiance is converted and segmented to output a multi-channel remote sensing image patch sequence and a local reflectance matrix sequence.

[0008] An initial color prior map is generated by calculating the physical characteristics of dark channel and color attenuation based on multi-channel remote sensing image patch sequences. The extreme value is then truncated by combining the local reflectance matrix sequence to generate a corrected color prior guide map.

[0009] The multi-channel remote sensing image patch sequence and the corrected color prior guide map are input into the convolutional network to extract shallow physical texture features. The corrected color prior guide map is used to limit the similarity weight to generate a thin cloud farmland feature difference matrix.

[0010] Pixel-level classification prediction is performed based on the thin cloud farmland feature difference matrix to generate coarsely segmented land type label masks. Orthogonal geometric constraint algorithm is used to correct the boundaries and output the final farmland-specific interpretation vector map.

[0011] Preferably, aerial multispectral images of the target's underlying surface are acquired using an airborne optical remote sensing sensor, converted to physical radiance, and segmented to output a multi-channel remote sensing image patch sequence and a local reflectance matrix sequence, including:

[0012] Control the airborne optical remote sensing sensor to perform push-broom imaging of the target's underlying surface and acquire aerial multispectral images containing red, green, blue and near-infrared physical bands;

[0013] Read the digital quantization value of each pixel in the aerial multispectral image, and use the radiometric calibration parameters to convert the digital quantization value into the physical reflectance of the surface to form the initial matrix of surface reflectance.

[0014] The aerial multispectral image and the initial surface reflectance matrix are synchronously overlapped and cut according to the preset fixed pixel grid size, and multi-channel remote sensing image block sequence and local reflectance matrix sequence are output respectively.

[0015] Preferably, the digital quantization values ​​are converted into surface physical reflectance using radiometric calibration parameters to construct the initial surface reflectance matrix, which includes:

[0016] The digital quantization value is converted into the radiance at the sensor entrance pupil using the gain coefficient and offset coefficient in the radiometric calibration parameters.

[0017] The solar irradiance parameter is used to convert radiance into the physical reflectance of the Earth's surface.

[0018] The surface physical reflectance of the red, green, blue and near-infrared bands is stacked according to the band to form an initial surface reflectance matrix. The data structure of the initial surface reflectance matrix is ​​a three-dimensional raster array with three dimensions: rows, columns and bands.

[0019] Preferably, an initial color prior map is generated by calculating the dark channel and color attenuation physical characteristics based on a multi-channel remote sensing image patch sequence, and then extreme value truncation is performed by combining the local reflectance matrix sequence to generate a corrected color prior guide map, including:

[0020] Traverse the visible light channels of the multi-channel remote sensing image patch sequence, extract the physical minimum value of the channel pixels within a local sliding window, and construct a prior feature array for the dark channel.

[0021] The difference between the luminance channel and saturation channel of each pixel in the multi-channel remote sensing image patch sequence is calculated and multiplied by the atmospheric scattering physical coefficient to obtain the color attenuation prior feature array.

[0022] The dark channel prior feature array and the color attenuation prior feature array are concatenated along the channel dimension to generate an initial color prior map.

[0023] Set a physical threshold for reflectivity saturation, compare the local reflectivity matrix sequence pixel by pixel, and when the pixel value in the local reflectivity matrix sequence is greater than the physical threshold for reflectivity saturation, force the response value at the corresponding coordinate position in the initial color prior map to be set to zero, and generate a corrected color prior guide map.

[0024] Preferably, a physical threshold for reflectance saturation is set, and the local reflectance matrix sequence is compared pixel by pixel. When the pixel value in the local reflectance matrix sequence is greater than the physical threshold for reflectance saturation, the response value at the corresponding coordinate position in the initial color prior map is forcibly set to zero, generating a corrected color prior guide map including:

[0025] Set the physical threshold for reflectivity saturation;

[0026] The local reflectivity matrix sequence is compared pixel by pixel with the physical reflectivity saturation threshold. The coordinates of the surface physical reflectivity that are greater than the physical reflectivity saturation threshold are marked, and a high reflectivity coordinate mask is generated.

[0027] Based on the high reflectivity coordinate mask, the response values ​​at the corresponding coordinate positions in the initial color prior map are forced to zero, generating a corrected color prior guide map.

[0028] Preferably, the multi-channel remote sensing image patch sequence and the corrected color prior guide map are input into a convolutional network to extract shallow physical texture features. The generated thin-cloud farmland feature difference matrix is ​​then generated by using the corrected color prior guide map to constrain similarity weights.

[0029] The multi-channel remote sensing image patch sequence and the corrected color prior guide map are synchronously input into a preset convolutional network for downsampling pooling operation to extract shallow physical texture features;

[0030] The pixel similarity weight array of shallow physical texture features in the spatial dimension is calculated by matrix multiplication. The pixel similarity weight array elements corresponding to the coordinate positions with zero values ​​in the corrected color prior guidance map are forced to be infinitesimal. The spatial noise reduction weight matrix is ​​obtained after processing by the normalized exponential function.

[0031] The spatial denoising weight matrix is ​​multiplied with the shallow physical texture features to extract the long-distance dependency of distant pixels, and the residuals are added to the shallow physical texture features to output the thin cloud farmland feature difference matrix.

[0032] Preferably, the multi-channel remote sensing image patch sequence and the corrected color prior guidance map are simultaneously input into a preset convolutional network for downsampling pooling operations to extract shallow physical texture features, including:

[0033] In the channel dimension, the bands of the multi-channel remote sensing image patch sequence are stitched together with the channels of the corrected color prior guide map to form the input tensor;

[0034] The input tensor is convolved with the first convolutional kernel group by the first downsampling cascade unit and the first bias vector is added. After processing by the modified linear unit activation function, max pooling is performed to output the first intermediate feature.

[0035] The first intermediate feature is convolved with the second convolution kernel group by the second downsampling cascade unit and the second bias vector is added. After processing by the modified linear unit activation function, the max pooling operation is performed to output shallow physical texture features.

[0036] Preferably, the pixel similarity weight array of shallow physical texture features in the spatial dimension is calculated using matrix multiplication. The pixel similarity weight array elements corresponding to the coordinate positions with zero values ​​in the corrected color prior guidance map are forced to be infinitesimal. After processing with a normalized exponential function, the spatial noise reduction weight matrix is ​​obtained, including:

[0037] Matrix multiplication is used to calculate the pixel similarity weight array of shallow physical texture features in the spatial dimension;

[0038] The corrected color prior guide map is downsampled by max pooling at the downsampling factor to obtain the downsampled corrected color prior guide map, and then flattened according to spatial position.

[0039] When the channel values ​​of the color prior guide map at a certain spatial location are all zero after downsampling correction, the entire row and column elements corresponding to that spatial location in the pixel similarity weight array are forced to be infinitely small, while the corresponding main diagonal elements are kept unchanged, thus generating a masked similarity weight array.

[0040] The similarity weight array after masking is processed row by row using a normalized exponential function to obtain the spatial noise reduction weight matrix.

[0041] Preferably, the pixel-level classification prediction based on the thin cloud farmland feature difference matrix generates a coarsely segmented land type label mask, and the boundary is corrected using an orthogonal geometric constraint algorithm to output the final farmland-specific interpretation vector map, including:

[0042] Bilinear interpolation upsampling is performed on the feature difference matrix of thin cloud farmland, and the result is input into the classifier network to calculate the probability distribution of each pixel belonging to different land types, generating a probability distribution map of farmland categories.

[0043] Set a land classification probability threshold, assign a specific arable land category identifier code to the pixels in the arable land category probability distribution map whose values ​​are greater than the land classification probability threshold, and generate a coarse segmentation land category label mask.

[0044] Extract the edge pixel coordinate sequence of the coarsely segmented land category label mask, and use the Sobel operator to calculate the local gradient direction vector of the edge pixel coordinate sequence;

[0045] The orthogonal geometric constraint algorithm is used to identify edge pixel coordinate sequence segments where local gradient direction vectors are not parallel, and forced rectangular polyline fitting is performed to output the final farmland-specific interpretation vector map.

[0046] Preferably, setting a land category classification probability threshold and assigning specific arable land category identifier codes to pixels in the arable land category probability distribution map whose values ​​are greater than the land category classification probability threshold, thereby generating a coarse-segmented land category label mask, includes:

[0047] On the sample validation set, the search is performed based on maximizing the harmonic mean of precision and recall for farmland identification, and the optimal probability threshold is taken as the probability threshold for land classification.

[0048] Traverse each pixel of the cultivated land category probability distribution map. When the cultivated land category probability value of a certain pixel is greater than the land category classification probability threshold, assign the cultivated land category identification code to the corresponding coordinate position in the coarse segmentation land category label mask.

[0049] When the probability value of a certain pixel for cultivated land category is not greater than the land category classification probability threshold, the corresponding coordinate position is assigned to the land category identifier code corresponding to the highest probability among all land categories, and a coarse segmentation land category label mask is generated.

[0050] Preferably, the orthogonal geometric constraint algorithm is used to identify edge pixel coordinate sequence segments where local gradient direction vectors are not parallel, and forced rectangular polyline fitting is performed to output the final farmland-specific interpretation vector map, including:

[0051] The edge pixel coordinate sequence is simplified by performing polyline simplification, which compresses the edge pixel coordinate sequence into a polyline vertex sequence. The orthogonal constraint direction set is extracted by taking the direction angle with the highest frequency of each polyline segment in the polyline vertex sequence as the main direction.

[0052] Traverse the sequence of vertex points of the polyline and identify two adjacent polyline segments. When the difference between the direction angles of two adjacent polyline segments deviates from the right angle by an integer multiple exceeding the non-parallelism threshold, it is determined to be a segment where the local gradient direction vectors are not parallel.

[0053] By snapping the direction angle of each polyline segment within the non-parallel segment of the local gradient direction vector to the direction closest to the orthogonal constraint direction set and adjusting the coordinates of the polyline vertex, a rectangular polyline is obtained.

[0054] All rectangular polylines are organized into closed polygons according to the connectivity of farmland plots, and after being converted into vector data structures, the final farmland-specific interpretation vector map is output.

[0055] Secondly, the present invention provides a color prior guidance correction system for interpreting farmland in thin cloud areas of remote sensing images, comprising:

[0056] The data acquisition and radiometric calibration module is used to acquire aerial multispectral images of the target's underlying surface through airborne optical remote sensing sensors, convert physical radiance and perform segmentation processing, and output multi-channel remote sensing image patch sequences and local reflectance matrix sequences.

[0057] The physical prior extreme value truncation module is used to calculate the physical characteristics of dark channel and color attenuation based on multi-channel remote sensing image block sequence to generate an initial color prior map, and combine it with the local reflectance matrix sequence to perform extreme value truncation to generate a corrected color prior guide map.

[0058] The global feature space aggregation module is used to input multi-channel remote sensing image patch sequences and corrected color prior guide maps into a convolutional network to extract shallow physical texture features, and use the corrected color prior guide maps to limit similarity weights to generate a thin cloud farmland feature difference matrix.

[0059] The orthogonal vector interpretation and correction module is used to perform pixel-level classification prediction based on the thin cloud farmland feature difference matrix to generate a coarsely segmented land type label mask, and to use the orthogonal geometric constraint algorithm to correct the boundary and output the final farmland-specific interpretation vector map.

[0060] Compared to existing technologies, the advantages of this invention are as follows: This invention converts digital quantization values ​​into physical reflectance of the land surface through radiometric calibration, freeing the values ​​involved in subsequent processing from sensor gain offset and illumination geometric modulation. This provides a consistent physical criterion across regions for the extreme value truncation of the color prior map, eliminating misjudgments of highly reflective features due to different image locations. Furthermore, a hard truncation is performed on the distortion extreme values ​​of highly reflective features in the color prior map using a reflectance saturation physical threshold set by the true physical reflectance. This removes abnormal response patches from the source of color distribution calculation, avoiding distorted prior values ​​output by the color attenuation prior due to its inability to distinguish between the true color of the land feature and the light attenuation effect. Simultaneously, the zero-value coordinates of the corrected color prior map are converted into infinitesimal penalty terms in the similarity matrix operation of the global information aggregation stage. This directly severs the erroneous attention association between local texture features in the thin cloud region and distant bright non-cultivated land pixels from a mathematical perspective, ensuring the purity of the thin cloud cultivated land feature difference matrix and solving the problems of misjudgment of cultivated land and boundary distortion in thin cloud areas caused by the assimilation of highly reflective features. To address the jagged edges caused by the gradual change in transmission at the edge of thin clouds, an orthogonal geometric constraint algorithm is introduced. This algorithm forcibly absorbs the directions of non-parallel polygonal line segments with local gradient direction vectors into a set of orthogonal directions spanned by the main direction of the land parcel, ensuring that the interpreted boundary of cultivated land aligns with the straight physical boundary of artificial features. This method significantly improves the accuracy of land cover identification in complex underlying surface scenarios where cultivated land and high-reflectivity features intertwine in thin cloud-covered areas. It can be applied to image recognition and intelligent interpretation tasks such as remote sensing monitoring of cultivated land conversion to non-agricultural uses. Attached Figure Description

[0061] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0062] Figure 1 This is a flowchart of the color prior guidance method for interpreting farmland in thin cloud areas of remote sensing images in this invention;

[0063] Figure 2 This is a schematic diagram of linear array push-broom imaging in an embodiment of the present invention;

[0064] Figure 3 This is a schematic diagram of synchronous overlapping cutting processing in an embodiment of the present invention;

[0065] Figure 4 This is a schematic diagram of dark channel prior feature array extraction in an embodiment of the present invention;

[0066] Figure 5 This is a schematic diagram illustrating the generation of the corrected color prior guide map in an embodiment of the present invention;

[0067] Figure 6 This is a schematic diagram illustrating the generation of the similarity weight array after masking in an embodiment of the present invention;

[0068] Figure 7 This is a schematic diagram of bilinear interpolation upsampling operation in an embodiment of the present invention;

[0069] Figure 8 This is a schematic diagram illustrating the calculation of the local gradient direction vector in an embodiment of the present invention;

[0070] Figure 9 This is a schematic diagram of forced right-angled polyline fitting in an embodiment of the present invention;

[0071] Figure 10 This is a functional block diagram of the color prior guidance system for interpreting farmland in thin cloud areas of remote sensing images in this invention. Detailed Implementation

[0072] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0073] Example 1:

[0074] Please see Figure 1 As shown, this embodiment provides a color priori-guided method for interpreting farmland in thin cloud areas of remote sensing images, including:

[0075] This embodiment provides a color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images, applicable to the fields of optical remote sensing image processing and extraction of natural resource information such as farmland. Thin clouds in optical remote sensing images are semi-transparent and lack obvious cloud features, appearing highly similar to adjacent underlying surface areas such as farmland. When highly reflective features such as plastic greenhouses and building roofs are interspersed within the farmland covered by thin clouds, the color prior calculated based on color distribution will produce distorted extreme values ​​in the high-reflectivity areas. This leads to incorrect association of farmland pixels covered by thin clouds with distant, cloudless, bright non-farmland pixels during the global feature aggregation stage, causing distortion or missed identification of farmland extraction boundaries. This embodiment, through steps S1 to S4, binds the surface physical reflectance with the color prior depth and rigidly truncates abnormal extreme values. Then, the corrected color prior guidance map is converted into an attention penalty term in the global aggregation stage, thereby achieving high-precision interpretation of farmland in thin cloud-covered areas.

[0076] S1: Aerial multispectral images of the target's underlying surface are acquired using an airborne optical remote sensing sensor, converted into physical radiance, and segmented to output a multi-channel remote sensing image patch sequence and a local reflectance matrix sequence.

[0077] The raw images acquired by the optical remote sensing platform are stored in the form of digital quantized values. These digital quantized values ​​only reflect the relative strength of the sensor's photoelectric response. The digital quantized values ​​of the same ground feature vary greatly under different solar altitude angles and atmospheric conditions, and cannot directly reflect the true optical radiation properties of the Earth's surface. The extreme value truncation in subsequent step S2 requires physical reflectance, which characterizes the true spectral reflectance of the Earth's surface, as the physical basis for identifying high-reflectance ground features. Furthermore, the subsequent convolutional network requires a fixed-size input tensor. Therefore, step S1 needs to complete the radiance conversion before slicing and simultaneously slice the image and reflectance matrix, providing downstream users with two spatially strictly aligned data streams: a multi-channel remote sensing image patch sequence and a local reflectance matrix sequence.

[0078] Further, step S1 includes:

[0079] S11: Control the airborne optical remote sensing sensor to perform push-broom imaging of the target's underlying surface, and acquire aerial multispectral images containing red, green, blue and near-infrared physical bands.

[0080] The spectral curves of cultivated land, forest land, buildings and other land types overlap in the visible light band. It is difficult to reliably distinguish between vegetation and non-vegetation using only the three visible light bands of red, green and blue. However, the strong reflectivity of the near-infrared band to the chlorophyll of green vegetation can amplify the spectral differences between cultivated land and non-cultivated land. Therefore, this step requires the sensor to simultaneously acquire four physical bands: red, green, blue and near-infrared.

[0081] Specifically, the airborne optical remote sensing sensor is mounted on a downward-looking three-axis stabilized gimbal on the aerial photography flight platform. The stabilized gimbal is used to isolate flight attitude disturbances and keep the sensor's optical axis vertically downward.

[0082] The airborne optical remote sensing sensor employs a linear array pushbroom imaging method, acquiring ground strips line by line as the flight platform moves along the flight path, outputting aerial multispectral images including red, green, blue, and near-infrared bands. See also Figure 2 This is a schematic diagram of linear array pushbroom imaging provided in an embodiment of this application. For example... Figure 2As shown, the image includes elements such as a flight platform, a stabilized gimbal, an airborne optical remote sensing sensor, a linear pushbroom imaging system, ground strips, and aerial multispectral imagery. The airborne optical remote sensing sensor is mounted on a downward-looking stabilized gimbal on the flight platform. The stabilized gimbal isolates the sensor from flight attitude disturbances, keeping the sensor's optical axis vertically downward. The airborne optical remote sensing sensor uses a linear pushbroom imaging method, acquiring ground strips line by line as the flight platform moves along the flight path. In the image, the trapezoidal dashed beam represents the downward-projected pushbroom field of view of the sensor, and the thickened ground strips represent the ground sampling rows being acquired and covered by the beam. The acquired ground strips are arranged in rows and columns to form the aerial multispectral imagery. This arrangement allows the sensor to simultaneously acquire red, green, blue, and near-infrared bands. The strong reflectivity of the near-infrared band to the chlorophyll in green vegetation amplifies the spectral differences between cultivated and non-cultivated land, providing spectral basis for subsequent differentiation between vegetation and non-vegetation.

[0083] The data structure of the aerial multispectral image is a three-dimensional grid array (rows, columns, and bands). Each grid cell corresponds to a ground sampling cell. Each ground sampling cell records the digital quantization values ​​of the four bands: red, green, blue, and near-infrared. The digital quantization values ​​are integer grayscale values ​​after analog-to-digital conversion by the sensor, and the value range is from 0 to the maximum value corresponding to the sensor's quantization bit depth.

[0084] S12: Read the digital quantization value of each pixel in the aerial multispectral image, and use the radiometric calibration parameters to convert the digital quantization value into the physical reflectance of the ground surface to form the initial matrix of the ground surface reflectance.

[0085] If radiometric conversion is not performed and digital quantization values ​​are directly used in subsequent prior calculations and network extraction, the brightness gradient caused by the difference in solar incidence angle between the image edge and the image center of the same ground feature will be mistakenly regarded as the spectral difference of the ground feature. Cross-regional illumination differences will be misjudged as reflectance changes in the subsequent extreme value truncation stage, causing the determination boundary of highly reflective ground features to drift with the image position.

[0086] Specifically, radiometric calibration is performed in two stages: the first stage uses the gain and offset coefficients in the radiometric calibration parameters to convert the digitally quantized values ​​into radiance at the sensor's entrance pupil, with the conversion relationship being... ,in For band The digital quantization value, For band The scaling gain coefficient, For band The scaling offset coefficient, For band Radiance.

[0087] The second stage utilizes solar irradiance parameters to convert radiance into surface physical reflectance, the conversion relationship being: ,in The Earth-Sun distance in astronomical units at the time of imaging. For band The average solar irradiance outside the atmosphere, The solar zenith angle at the moment of imaging. For band The physical reflectivity of the Earth's surface.

[0088] The gain coefficient, offset coefficient, and average solar irradiance outside the atmosphere in the radiometric calibration parameters are all read from the factory calibration file of the airborne optical remote sensing sensor, while the Earth-Sun distance and solar zenith angle are read from the imaging metadata header file of the aerial multispectral image.

[0089] The surface physical reflectance of the four bands is stacked to form an initial surface reflectance matrix. The data structure of the initial surface reflectance matrix is ​​consistent with that of aerial multispectral imagery, which is a three-dimensional raster array (rows, columns, and bands). Each raster cell stores floating-point values ​​of the surface physical reflectance of the four bands: red, green, blue, and near-infrared, with values ​​ranging from 0 to 1.

[0090] For example, assuming the red band calibration gain coefficient is 0.02, the offset coefficient is -1.0, and the red band digital quantization value of a certain pixel is 8000, then the red band radiance is... Given that the average solar irradiance outside the atmosphere in the red band for this pixel is 1550, the Earth-Sun distance is 1.0, and the solar zenith angle is 30 degrees, then the physical reflectance of the Earth's surface in the red band is... .

[0091] Before cropping, the digital quantization values ​​are converted into an initial surface reflectance matrix, freeing the values ​​involved in subsequent processing from the modulation of sensor gain offset and illumination geometry, thus preserving the optical radiation properties of the ground features themselves. In the scenario of farmland interpretation in thin cloud areas, the discrimination of highly reflective ground features such as plastic greenhouses relies on the stable physical characteristic that their surface reflectance is higher than that of natural ground features. If the digital quantization values ​​are used, highly reflective greenhouses at the image edges, which are generally darker due to the increased solar zenith angle, may obtain similar gray levels to farmland with sufficient light at the image center, causing subsequent extreme value truncation to miss detections at the image edges and false detections at the image center. After conversion to physical surface reflectance, the reflectance values ​​of highly reflective ground features no longer drift with the position of pixels in the image, providing a consistent physical criterion across regions for step S24.

[0092] S13: Perform synchronous overlapping and cutting processing on the aerial multispectral image and the initial surface reflectance matrix according to the preset fixed pixel grid size, and output the multi-channel remote sensing image block sequence and the local reflectance matrix sequence respectively.

[0093] The convolutional network in the subsequent step S31 requires the input tensor to have a fixed spatial size, while the area of ​​the aerial multispectral image is much larger than the network input size; at the same time, the subsequent extreme value truncation requires the image block and the reflectance matrix block to correspond to each other pixel by pixel in space. Therefore, this step must cut the two data streams synchronously under a unified grid.

[0094] Specifically, the method for determining the preset fixed pixel grid size is as follows: under the constraint of the downsampling factor of the convolutional network, take an integer power of 2 so that the spatial size of the cut image block is still an integer after multiple levels of downsampling. An exemplary fixed pixel grid size is set to 256 pixels by 256 pixels.

[0095] The synchronous overlapping cropping process employs a sliding window approach. A fixed pixel grid size serves as the window size, and the step size between adjacent windows is calculated by multiplying the window's side length by (1 minus the overlap retention ratio). Blocks are synchronously cropped on both the aerial multispectral image and the initial surface reflectance matrix using the same window coordinates. The overlap retention ratio is determined based on the ratio of the receptive field radius of the convolutional network to the grid side length, ensuring that the width of the overlapping region between adjacent image blocks is not less than the receptive field radius of the deepest single neuron in the convolutional network. An exemplary overlap retention ratio is set to 0.25, corresponding to a step size of 256 × (1 - 0.25) = 192 pixels.

[0096] The multi-channel remote sensing image patch sequence consists of image patches cut from aerial multispectral imagery, arranged according to their row and column positions. Each image patch has a data structure of a 256-pixel x 256-pixel x 4-band raster array. See also... Figure 3 This is a schematic diagram of the synchronous overlapping cutting process provided in an embodiment of this application. Figure 3 As shown, the figure includes elements such as aerial multispectral imagery, sliding windows, stride, overlapping regions, and image patches. Synchronous overlapping and cropping processing uses a sliding window approach, with a fixed pixel grid size as the window size. The stride between adjacent windows is calculated by multiplying the window's side length by (1 minus the overlap retention ratio). The two dashed boxes in the figure represent adjacent sliding windows, and the area marked by the diagonal shading between the two windows is the overlapping region. The line connecting the center points of the two windows indicates the stride. After cropping, independent solid-line image patches are derived. The overlapping region between adjacent image patches is preserved, ensuring that the width of the overlapping region is not less than the receptive field radius of a single neuron in the deepest layer of the convolutional network. This provides the downstream convolutional network with a fixed-size and spatially strictly aligned sequence of multi-channel remote sensing image patches.

[0097] The local reflectance matrix sequence consists of reflectance matrix blocks cut from the initial surface reflectance matrix with the same window coordinates and arranged with the same number. The data structure of each reflectance matrix block is a 256-pixel by 256-pixel by 4-band raster array, which is spatially aligned pixel-by-pixel with the image blocks with the same number in the multi-channel remote sensing image block sequence.

[0098] S2: Calculate the physical characteristics of dark channel and color attenuation based on multi-channel remote sensing image patch sequence to generate initial color prior map, and perform extreme value truncation in combination with local reflectance matrix sequence to generate corrected color prior guide map.

[0099] Thin clouds, due to their semi-transparency, lack distinct cloud features, and their spectral and textural characteristics are easily confused with the local textures of cloudless farmland. Relying solely on image grayscale is insufficient to highlight thin cloud areas. Classical dehazing theory uses a dark channel prior to reflect the enhancement of the underlying dark component by thin clouds, and a color attenuation prior to reflect the separation of brightness and saturation caused by thin clouds. Combining these two approaches can highlight thin cloud areas and suppress irrelevant areas from a color distribution perspective. The initial color prior image refers to a multi-channel response image obtained by stitching together the dark channel prior feature array and the color attenuation prior feature array along the channel dimension, used to characterize the probability that each pixel belongs to a thin cloud area. The corrected color prior guidance image refers to the response image obtained after physically truncating the distortion extrema caused by highly reflective features in the initial color prior image. However, the color attenuation prior cannot distinguish between the true surface color and the light attenuation effect when processing highly reflective features such as plastic greenhouses, resulting in distorted low-value patches. Therefore, it is necessary to combine it with a local reflectivity matrix sequence to perform extremum truncation.

[0100] Further, step S2 includes:

[0101] S21: Traverse the visible light channels of the multi-channel remote sensing image patch sequence, extract the physical minimum value of the channel pixels within the local sliding window, and construct the prior feature array of the dark channel.

[0102] In the scenario of interpreting farmland in thin cloud areas, the scattering effect of thin clouds on transmitted light causes the minimum values ​​of pixels covered by thin clouds to be raised simultaneously in the red, green and blue visible light channels. Meanwhile, dark structures such as vegetation shadows and furrows in cloudless farmland retain low values ​​close to zero in at least one visible light channel. This physical characteristic determines that dark channel operation can highlight thin cloud areas from cloudless farmland.

[0103] Specifically, the calculation process of the dark channel prior feature array is as follows: for each image block in the multi-channel remote sensing image block sequence, traverse each pixel, take a local sliding window centered on the pixel, and take the minimum value among the red, green and blue visible light channel values ​​of all pixels covered by the local sliding window as the dark channel prior feature value of the pixel.

[0104] The method for determining the size of the local sliding window is as follows: take the number of pixels of the smallest contiguous patch size of thin cloud on the image as the window side length, so that the window is not larger than the smallest thin cloud patch, and avoid the window from crossing the thin cloud boundary and introducing cloudless pixels. The exemplary local sliding window size is set to 15 pixels by 15 pixels.

[0105] The dark channel prior feature values ​​of each pixel are arranged according to pixel position to form a dark channel prior feature array. The data structure of the dark channel prior feature array is a 256-pixel by 256-pixel single-channel grid array. The larger the value, the more likely the pixel is to be covered by thin clouds. See also Figure 4 This is a schematic diagram of dark channel prior feature array extraction provided in an embodiment of this application. Figure 4 As shown in the figure, the left side represents three stacked visible light channels, corresponding to the red, green, and blue visible light channels. A local sliding window spanning all three layers is marked by its skeleton line. The minimum value among the red, green, and blue visible light channel values ​​of all pixels covered by the local sliding window is taken as the dark channel prior feature value of that pixel. After processing and mapping, the output is shown by the arrows on the right side to the dark channel prior feature array. The bright pixels in the array correspond to the dark channel prior feature value at the corresponding window position. This extraction method highlights the minimum value that is synchronously raised in all three visible light channels for pixels covered by thin clouds, while retaining the low values ​​of dark structures such as vegetation shadows and furrows in cloudless farmland in at least one visible light channel. This distinguishes thin cloud areas from cloudless farmland, with larger values ​​indicating that the pixel is more likely to be covered by thin clouds.

[0106] For example, if the minimum value of the red channel is 0.31, the minimum value of the green channel is 0.28, and the minimum value of the blue channel is 0.35 within a local sliding window of a certain pixel, then the prior feature value of the dark channel of that pixel is the minimum of the three, which is 0.28.

[0107] S22: Calculate the difference between the luminance channel and saturation channel of each pixel in the multi-channel remote sensing image patch sequence, and multiply it by the atmospheric scattering physical coefficient to obtain the color attenuation prior feature array.

[0108] The dark channel prior feature array output in step S21 only reflects the single-dimensional information of the minimum value of the visible light channel within the local window, and does not characterize the degree of color attenuation caused by thin clouds. When the change in the concentration of thin clouds causes the brightness and saturation to separate in the same area, the dark channel prior feature array cannot quantify the magnitude of this separation, and a color attenuation prior feature array needs to be introduced to supplement it.

[0109] Specifically, the calculation process of the color attenuation prior feature array is as follows: for each image block in the multi-channel remote sensing image block sequence, the brightness channel and saturation channel are calculated pixel by pixel.

[0110] The calculation method for the brightness channel is as follows: take the maximum value among the red, green and blue visible light channel values ​​of the pixel as the brightness channel value.

[0111] The saturation channel is calculated as follows: take the difference between the maximum and minimum values ​​of the red, green and blue visible light channels of the pixel, and then divide it by the maximum value to obtain the saturation channel value.

[0112] The difference between the luminance channel value and the saturation channel value of the pixel is obtained, and then multiplied by the atmospheric scattering physical coefficient to obtain the prior feature value of color attenuation of the pixel. The atmospheric scattering physical coefficient is determined by normalizing the sum of the atmospheric Rayleigh scattering coefficient and the aerosol scattering coefficient of the imaging region to a value in the range of 0.8 to 1.2. The atmospheric scattering parameters of the imaging region are read from the atmospheric state field of the imaging metadata header file of the aerial multispectral image. The atmospheric scattering physical coefficient is set to 1.0 for example.

[0113] The color attenuation prior feature values ​​of each pixel are arranged according to the pixel position to form a color attenuation prior feature array. The data structure of the color attenuation prior feature array is a 256-pixel by 256-pixel single-channel grid array. The larger the value, the more obvious the separation between the brightness and saturation of the pixel, and the more likely it is to be covered by thin clouds.

[0114] For example, if the red, green, and blue channel values ​​of a pixel are 0.62, 0.58, and 0.55 respectively, then the luminance channel value is 0.62, and the saturation channel value is... The prior eigenvalue of color attenuation is .

[0115] S23: Concatenate the dark channel prior feature array and the color attenuation prior feature array along the channel dimension to generate an initial color prior map.

[0116] The dark channel prior feature array highlights thin clouds from the dimension of the minimum value of the visible light channel, and the color attenuation prior feature array highlights thin clouds from the dimension of brightness and saturation separation. The two representations of thin clouds are complementary. The subsequent step S24 needs to retain the prior responses of both dimensions as truncation objects. Therefore, the two feature arrays need to be spliced ​​into a unified initial color prior map.

[0117] Specifically, before splicing, linear normalization is performed on the dark channel prior feature array and the color attenuation prior feature array respectively. The linear normalization method is to subtract the minimum value of the array from each array and then divide by the difference between the maximum and minimum values ​​of the array, so that the values ​​of the two feature arrays are uniformly mapped to the interval between 0 and 1, thus eliminating the difference in their dimensions.

[0118] The linearly normalized dark channel prior feature array and the linearly normalized color attenuation prior feature array are stacked in the channel dimension to generate an initial color prior map. The data structure of the initial color prior map is a 256-pixel x 256-pixel x 2-channel raster array. The first channel is the normalized dark channel prior feature value, and the second channel is the normalized color attenuation prior feature value.

[0119] S24: Set the physical threshold for reflectivity saturation, compare the local reflectivity matrix sequence pixel by pixel, and when the pixel value in the local reflectivity matrix sequence is greater than the physical threshold for reflectivity saturation, force the response value at the corresponding coordinate position in the initial color prior map to be set to zero, and generate the corrected color prior guide map.

[0120] In scenarios where thin clouds cover farmland interspersed with large areas of plastic greenhouses and other highly reflective features, the color attenuation prior mechanism fails to accurately distinguish between the true color of the features and the light attenuation effect when processing highly reflective features. Its brightness channel is boosted to near saturation by high reflectivity while its saturation channel is suppressed, distorting the difference between brightness and saturation. This results in abnormal extreme value patches being output at highly reflective features in the initial color prior map. If the initial color prior map with these abnormal extreme value patches is directly input into the subsequent network, these abnormal extreme values ​​will be mistakenly identified as strong thin cloud responses, misleading feature extraction. Step S24 introduces a local reflectivity matrix sequence based on the true physical radiance as a hard truncation condition, forcibly setting the abnormal extreme values ​​in the initial color prior map to zero.

[0121] Further, step S24 includes:

[0122] S241: Set the physical threshold for reflectivity saturation.

[0123] High reflectivity features such as plastic greenhouses and building roofs have significantly higher surface physical reflectivity in the visible light band than thin cloud-covered farmland pixels. This difference in reflectivity constitutes a stable physical boundary that distinguishes the two. Therefore, it is necessary to set a reflectivity threshold to define high reflectivity features.

[0124] Specifically, the method for determining the physical reflectance saturation threshold is as follows: statistically analyze the surface physical reflectance samples of cultivated land pixels covered by thin clouds in the visible light band from the ultra-high resolution land cover sample library, calculate the 95th percentile of the reflectance sample distribution, and use the 95th percentile as the physical reflectance saturation threshold. Pixels with surface physical reflectance higher than the physical reflectance saturation threshold are judged as high reflectance land features that exceed the normal range of reflectance of cultivated land covered by thin clouds. An exemplary physical reflectance saturation threshold is set to 0.40.

[0125] S242: Compare the local reflectivity matrix sequence with the reflectivity saturation physical threshold pixel by pixel, mark the coordinates of the surface physical reflectivity that is greater than the reflectivity saturation physical threshold, and generate a high reflectivity coordinate mask.

[0126] The subsequent step S243 requires identifying which coordinate locations correspond to high reflectivity features before directional zeroing can be performed. Therefore, this step must first filter out and record the coordinates in the local reflectivity matrix sequence that exceed the physical threshold of reflectivity saturation as masks.

[0127] Specifically, for each reflectance matrix block in the local reflectance matrix sequence, the maximum value among the physical reflectance of the surface in the red, green, and blue visible light bands is taken as the visible light peak reflectance of that pixel, and the visible light peak reflectance is compared with the reflectance saturation physical threshold.

[0128] When the peak visible light reflectance of a pixel is greater than the physical threshold for reflectance saturation, the corresponding coordinate position in the high reflectance coordinate mask is set to 1; when the peak visible light reflectance of a pixel is not greater than the physical threshold for reflectance saturation, the corresponding coordinate position in the high reflectance coordinate mask is set to 0.

[0129] The marker values ​​of each pixel are arranged according to the pixel position to generate a high reflectivity coordinate mask. The data structure of the high reflectivity coordinate mask is a single-channel binary grid array of 256 pixels by 256 pixels, with values ​​of 0 or 1. The coordinates with a value of 1 correspond to high reflectivity features.

[0130] For example, if the surface physical reflectance of a pixel in the red, green, and blue bands is 0.52, 0.48, and 0.45 respectively, then the visible light peak reflectance is 0.52, which is greater than the physical reflectance saturation threshold of 0.40. This coordinate position is set to 1 in the high reflectance coordinate mask.

[0131] S243: Based on the high reflectivity coordinate mask, force the response value at the corresponding coordinate position in the initial color prior map to zero, and generate the corrected color prior guide map.

[0132] If this step is skipped and the initial color prior map with abnormal extreme patches is directly passed into step S31, the distorted response at high reflectivity features will be learned by the convolutional network as thin cloud features, thus contaminating subsequent feature extraction from the source.

[0133] Specifically, iterate through all coordinates in the high reflectivity coordinate mask. When a coordinate position in the high reflectivity coordinate mask is 1, force the response values ​​of the first and second channels at the same coordinate position in the initial color prior image to be 0. When a coordinate position in the high reflectivity coordinate mask is 0, retain the response value at the same coordinate position in the initial color prior image.

[0134] The processed initial color prior map is output as the corrected color prior guide map. The data structure of the corrected color prior guide map is a 256-pixel x 256-pixel x 2-channel raster array, where the coordinates forced to zero correspond to high-reflectivity features whose actual physical reflectivity exceeds the threshold. See also Figure 5 This is a schematic diagram of the generation of the corrected color prior guide map provided in the embodiments of this application. For example... Figure 5As shown, the diagram includes elements such as a high-reflectivity coordinate mask, an initial color prior map, forced zeroing, and a corrected color prior guide map. The high-reflectivity coordinate mask is a single-layer binary array, where black blocks represent the coordinates of high-reflectivity features with a value of 1. The initial color prior map is a two-layer textured array, with the two layers corresponding to the normalized dark channel prior feature value channel and the normalized color attenuation prior feature value channel, respectively. After forced zeroing, the response values ​​of the two inputs at the same coordinate positions in the initial color prior map for the coordinate positions with a value of 1 in the high-reflectivity coordinate mask are forced to 0, resulting in the corrected color prior guide map. The zeroed coordinate positions in the map appear as blank blocks. This processing uses the high-reflectivity coordinate mask based on the true physical reflectivity as the zeroing criterion, removing distorted extreme value patches caused by high-reflectivity features in the initial color prior map, and preventing abnormal extreme values ​​from being learned as thin cloud features by the convolutional network.

[0135] Step S243 uses the local reflectivity matrix sequence based on the underlying physical parameters of the optical sensor as the zeroing criterion. This criterion originates from the physical reflectivity of the ground surface, a physical radiation quantity independent of color distribution calculations, and is completely decoupled from the brightness and saturation color dimensions upon which the color attenuation prior depends. The original design goal of step S243 was only to remove abnormal extreme value patches in the initial color prior map. However, since its zeroing criterion does not use any color distribution information, it circumvents the root defect of the color attenuation prior, which cannot distinguish between the true color of the ground surface and the light attenuation effect. The reason why the color attenuation prior outputs distorted low-value patches at the plastic greenhouse is precisely because it cannot determine whether the low value originates from a real low-saturation ground feature or from saturation collapse caused by strong reflection based solely on the difference in brightness and saturation. However, the physical reflectivity of the ground surface is not affected by this ambiguity. Any reflectivity exceeding the threshold is judged as a high-reflectivity ground feature and zeroed out. Therefore, step S243 naturally acquires the ability to identify and remove color attenuation prior distortion patches without introducing any color semantic discrimination module. This hidden defect has been masked by the color domain prior algorithm. In this field, it is usually attributed to the accuracy of the prior algorithm itself rather than the selection of the physical dimension of the criterion. This step naturally blocks the distortion prior response from misleading the subsequent network from the perspective of switching the physical dimension of the criterion.

[0136] S3: Input the multi-channel remote sensing image patch sequence and the corrected color prior guide map into the convolutional network to extract shallow physical texture features, and use the corrected color prior guide map to limit the similarity weight to generate a thin cloud farmland feature difference matrix.

[0137] Thin clouds are small, sparsely distributed, and highly transparent. Their local texture features are easily confused with cloudless backgrounds. Relying solely on local convolution is insufficient to establish a discriminative relationship between thin cloud regions and similar cloudless regions. Global information aggregation is needed to extract long-distance dependencies between pixels. However, in complex underlying surface scenes, if long-distance dependency aggregation of global information is performed without constraints, the system will incorrectly associate pixels of cultivated land covered by thin clouds with bright, distant non-cultivated land pixels with high weights, leading to abnormal assimilation of the spectral features of cultivated land in the thin cloud area. The shallow physical texture features refer to the spatial feature tensor obtained by the convolutional network jointly encoding a multi-channel remote sensing image patch sequence and a corrected color prior guide map. The thin cloud cultivated land feature difference matrix refers to the feature tensor that enhances the discriminative ability between thin clouds and easily confused underlying surfaces after global information aggregation and the application of a corrected color prior guide map constraints. Therefore, step S3 uses the corrected color prior guide map to restrict similarity weights, severing erroneous associations from the mathematical link.

[0138] Further, step S3 includes:

[0139] S31: Simultaneously input the multi-channel remote sensing image patch sequence and the corrected color prior guide map into the preset convolutional network for downsampling pooling operation to extract shallow physical texture features.

[0140] The subsequent step S321 requires calculating the similarity between pixels using the feature tensor carrying spatial texture and color prior information as input. Therefore, this step must jointly encode the image band information and the corrected color prior guidance map into a unified shallow physical texture feature.

[0141] Specifically, the convolutional network concatenates the four bands of the multi-channel remote sensing image block sequence with the two channels of the corrected color prior guide map in the channel dimension to form an input tensor of 256 pixels by 256 pixels by 6 channels.

[0142] The convolutional network comprises two downsampling cascaded units: the first downsampling cascaded unit convolves the input tensor with the first convolutional kernel group and adds a first bias vector, then processes it through a modified linear unit activation function and performs a max pooling operation with a stride of 2, outputting a first intermediate feature of 128 pixels by 128 pixels by 32 channels; the second downsampling cascaded unit convolves the first intermediate feature with the second convolutional kernel group and adds a second bias vector, then processes it through a modified linear unit activation function and performs a max pooling operation with a stride of 2, outputting a shallow physical texture feature of 64 pixels by 64 pixels by 64 channels. The first convolutional kernel group, the second convolutional kernel group, the first bias vector, and the second bias vector are all learnable parameters obtained through training data.

[0143] The convolutional network is jointly trained end-to-end with the global information aggregation structure in step S32 and the classifier network in step S41. The training data comes from the ultra-high resolution land use sample library, which contains 277,694 cultivated land samples, 261,166 forest land samples, and 90,140 building samples. Each sample is a pixel-level labeled land use raster array. Before training, random rotation, horizontal flipping, and brightness perturbation data augmentation are performed on the samples.

[0144] Training employs a joint loss function of cross-entropy and cloud feature difference loss. The cross-entropy loss function is calculated using the cross-entropy between the land class probability distribution output by the classifier network and the pixel-level land class annotations. The cloud feature difference loss function forces the network to learn the differential features between thin clouds and easily confused underlying surfaces; its calculation expression is as follows: ,in This is the mean vector of shallow physical texture features for pixels labeled as having thin cloud cover within the current batch. This is the mean vector of shallow physical texture features of the pixels marked as easily confused underlying surfaces within the current batch. The feature interval threshold is used. The design principle of the cloud feature difference loss function is: squared Euclidean distance term. The hinge form reflects the degree of separation between the feature center of the thin cloud and the feature center of the underlying surface in the feature space. This design ensures that when the separation between two types of feature centers exceeds the feature gap threshold, the loss value becomes 0 and no gradient is generated. Gradients are only generated when the distance between two types of features is less than the feature gap threshold, indicating confusion. This pushes the two feature centers apart, thus establishing a minimum gap between thin clouds and easily confused underlying surfaces in the feature space. The feature gap threshold is determined by taking the square root of the shallow physical texture feature dimension as the feature gap threshold; for example, the feature gap threshold is set to 8.0.

[0145] The joint loss is a weighted sum of the cross-entropy loss function and the cloud feature difference loss function, with the weighting coefficient of the cloud feature difference loss function set to 0.5 for example. The training optimizer uses an adaptive moment estimation optimizer, with an initial learning rate of 0.001 adjusted using a cosine annealing strategy. The training epochs are set to 100, and the batch size is set to 16. The training termination condition is that the absolute value of the difference between the joint losses of two adjacent iterations on the validation set is less than a convergence threshold, which is set to 0.0001 based on the training accuracy requirements.

[0146] S32: Calculate the pixel similarity weight array of shallow physical texture features in the spatial dimension using matrix multiplication. Force the pixel similarity weight array elements corresponding to the coordinate positions with zero values ​​in the corrected color prior guidance map to be infinitesimal. Then, obtain the spatial noise reduction weight matrix after processing with a normalized exponential function.

[0147] When applying nonlocal structures for global information aggregation, distortion responses alter the similarity distribution in the feature space. This causes the local texture features of the thin cloud region to be dominated by distant, high-reflectivity pixel features with similar distortion responses when assigning attention weights, ultimately leading to the misclassification of farmland in the thin cloud region as construction land. The pixel similarity weight array refers to a square matrix composed of the feature similarities between any two spatially located pixels in the shallow physical texture features; the spatial denoising weight matrix refers to the attention weight matrix obtained after applying correction to the pixel similarity weight array, masking the zero values ​​of the color prior guide map, and normalizing it. Therefore, step S32 must cut off the attention allocation path of the highlighted abnormal region using the zero-value coordinates of the corrected color prior guide map before calculating long-distance dependencies.

[0148] Further, step S32 includes:

[0149] S321: Calculate the pixel similarity weight array of shallow physical texture features in the spatial dimension using matrix multiplication.

[0150] Extracting long-distance dependencies between pixels requires first measuring the feature similarity between any two spatially located pixels. This measurement requirement determines that a similarity weight array is generated by performing matrix multiplication after linear transformation of the features.

[0151] Specifically, the shallow physical texture features output in step S31 are subjected to pixel-wise 1x1 convolution linear transformations with the query transformation weight matrix and the key transformation weight matrix to obtain the query feature tensor and the key feature tensor. The query transformation weight matrix and the key transformation weight matrix are both learnable parameters obtained through training data.

[0152] The query feature tensor and the key feature tensor are flattened into two-dimensional matrices according to their spatial positions. After flattening, the number of rows in each matrix is ​​the number of channels, and the number of columns is the total number of spatial pixels, which is 4096. The total number of spatial pixels is equal to 64 by 64.

[0153] The transpose of the query feature tensor flattening matrix is ​​multiplied by the key feature tensor flattening matrix to obtain the pixel similarity weight array. The data structure of the pixel similarity weight array is a 4096x4096 square matrix. Line number Column elements represent the first The spatial location pixel and the first The similarity of the inner product of features between pixels at spatial locations is such that a larger value indicates that the features of the two pixels are more similar.

[0154] For example, suppose the first The query feature vector of the pixel at the _th spatial location and the _th If the inner product of the key feature vectors of the pixels at the _th spatial location is 3.2, then the _th ... Line number The column element is 3.2.

[0155] S322: Force the pixel similarity weight array elements corresponding to the coordinate positions with zero values ​​in the corrected color prior guide map to be infinitely small, and generate the masked similarity weight array.

[0156] If the elements involving high reflectivity features in the pixel similarity weight array are not intervened and are directly normalized, the high inner product similarity between cultivated land pixels in thin cloud areas and bright non-cultivated land pixels at the far end will be retained in the weight allocation, amplifying the erroneous association in subsequent long-distance dependency aggregation.

[0157] Specifically, the corrected color prior guide map is first downsampled by max pooling with a step size of 4 according to the downsampling factor in step S31, so that the spatial size of the corrected color prior guide map is aligned with the 64x64 spatial size of the shallow physical texture features, thus obtaining the downsampled corrected color prior guide map.

[0158] The downsampled and corrected color prior map is flattened according to spatial location. This process iterates through 4096 spatial locations. When both channel values ​​of the downsampled and corrected color prior map for a given spatial location are zero, it is determined that the location corresponds to a high-reflectivity feature. The entire row and column elements corresponding to this spatial location in the pixel similarity weight array are then forcibly set to infinitesimal, while the main diagonal elements corresponding to that location remain unchanged. The infinitesimal value is a large negative number, determined by taking a negative number much smaller than the normal element size of the pixel similarity weight array, so that subsequent normalization exponentiation calculations output a weight close to zero for that element. An example infinitesimal value is -1 multiplied by 10 to the power of 9. By retaining the main diagonal elements unchanged, the pixels corresponding to high reflectivity features retain only their own attention weight after the normalized exponent calculation, which approaches 1. This means that the pixels neither output abnormal correlations to other pixels nor absorb feature contributions from other pixels. Thus, while achieving the goal of bidirectional isolation, it avoids numerical anomalies caused by the normalized exponent calculation denominator approaching zero due to all elements in the row being set to infinitesimal.

[0159] The processed pixel similarity weight array is output as a masked similarity weight array, which has a data structure of 4096 x 4096 square matrix. See also Figure 6 This is a schematic diagram of the generation of the similarity weight array after masking, provided in an embodiment of this application. Figure 6As shown in the figure, the left side is the pixel similarity weight array, a 4096x4096 square matrix (simplified to six rows and six columns in the figure), with the main diagonal elements marked in light color. After processing by the flowchart arrows, the masked similarity weight array on the right is obtained. When the values ​​of both channels of the color prior guide map after downsampling correction are both zero at a certain spatial location, the entire row and column elements corresponding to that spatial location in the pixel similarity weight array are forcibly set to infinitesimals (marked in dark color in the figure), but the main diagonal elements corresponding to that spatial location remain unchanged. The legend in the figure illustrates that light color represents the main diagonal elements and dark color represents infinitesimals. This processing keeps the main diagonal elements unchanged, so that the pixels corresponding to high reflectivity features retain only their own attention weight after the normalized exponent calculation, which approaches 1. It neither outputs abnormal correlations to other pixels nor absorbs the feature contributions of other pixels, thus achieving bidirectional isolation while avoiding numerical anomalies caused by the denominator of the normalized exponent calculation approaching zero.

[0160] The physical truncation in step S243 and the attention shielding in step S322 constitute a two-level mechanism coupled before and after. The two-level mechanism acts on the generation end of color prior and the weight end of global aggregation, respectively, to jointly prevent the assimilation of farmland in thin cloud areas by high reflectivity land features. If only step S322 is executed without the physical truncation in step S243, the initial color prior map will show distorted low-value patches instead of zero values ​​at the plastic greenhouse. The zero-value coordinates on which step S322 is used to locate the masked object will not exist at all. The similarity elements corresponding to the bright abnormal area cannot be set to infinitesimal. The cultivated land pixels in the thin cloud area will still retain a high-weight association with the distant greenhouse pixels after normalization. If only step S243 is executed without the attention masking in step S322, although the corrected color prior guide map has marked the precise zero value at the high reflectivity features, the pixel similarity weight array has not been modified. The subsequent normalization exponent calculation will still allocate the attention weight to the high reflectivity features based on the original high inner product similarity. The zero-value mark obtained by physical truncation will be idle in the global aggregation link and cannot play a role. The coupling of the two-level mechanism allows the precise zero-value markers generated by the true physical reflectance in step S243 to be converted into infinitesimal penalty terms in the similarity matrix operation in step S322. This mathematically severs the path of matrix multiplication between local texture features in the thin cloud region and distant bright non-farmland pixels. Logically, this seversal capability cannot be attributed to any single-level mechanism: physical truncation provides the correct masking coordinates, and attention masking provides the means to execute the seversal. Without either, the purity of the spectral features of farmland in the thin cloud region cannot be guaranteed. This coupling process directly determines the input quality of the long-distance dependency aggregation in the downstream step S33, ensuring that the feature difference matrix of thin cloud farmland no longer mixes with distant high-reflectance land features. This fundamentally avoids the problem of farmland in the thin cloud region being misclassified as construction land and the distortion of farmland interpretation boundaries in step S42.

[0161] S323: The similarity weight array after masking is processed by a normalized exponential function to obtain the spatial noise reduction weight matrix.

[0162] The subsequent step S33 requires weighted aggregation with the normalized weights of each pixel on the other pixels. However, the elements in the similarity weight array after masking are unnormalized similarity inner product values, which have inconsistent dimensions and do not meet the requirement that the weights sum to one. Therefore, they need to be converted into normalized weights by normalized exponential function processing.

[0163] Specifically, the normalized exponential function is performed row by row on the masked similarity weight array. That is, the natural exponent is taken for each element in each row, and then the natural exponent value of each element is divided by the sum of the natural exponent values ​​of all elements in that row to obtain the normalized weight.

[0164] Since the elements set to infinitesimals in step S322 approach zero after taking their natural exponents, the normalization exponent operation makes the normalized weights of the corresponding positions of high reflectivity features approach zero, thus completely eliminating the contribution of high reflectivity features to long-distance dependency aggregation at the weight level. For the row containing the high reflectivity feature itself, since its main diagonal elements are retained as normal self-similarity values ​​and not set to infinitesimals, the denominator of the normalization exponent operation for this row is always positive, and there will be no abnormal value where the denominator approaches zero. After normalization, this row only retains a weight approaching 1 at the main diagonal position, and the weights at other positions approach 0.

[0165] The weights, after row-by-row normalization, are arranged according to their row and column positions to obtain the spatial denoising weight matrix. The spatial denoising weight matrix has a data structure of 4096 x 4096 square matrix, where the sum of elements in each row is 1. Line number Column elements represent the first The pixel features are aggregated into the first... The weight assigned to each pixel.

[0166] For example, suppose that in a row of the similarity weight array after masking, there are only three normal elements with values ​​of 3.2, 1.0, and 0.5, and the remaining elements are infinitesimals. Then the normalized weights for that row would be... , , The normalized weights of infinitesimal elements approach 0.

[0167] S33: Perform a dot product operation between the spatial denoising weight matrix and the shallow physical texture features to extract the long-distance dependency relationship of the far-end pixels, and add the residuals with the shallow physical texture features to output the thin cloud farmland feature difference matrix.

[0168] The spatial denoising weight matrix output in step S323 has masked high reflectivity features in the weight dimension, but it has not yet been applied to the actual feature tensor. The subsequent step S41 needs to perform classification with the feature tensor that aggregates long-distance dependencies as input. Therefore, this step must apply the spatial denoising weight matrix to the shallow physical texture features to complete the global information aggregation.

[0169] Specifically, the shallow physical texture features output in step S31 are subjected to a pixel-by-pixel 1x1 convolution linear transformation with the value transformation weight matrix to obtain the value feature tensor. The value transformation weight matrix is ​​a learnable parameter obtained through training data.

[0170] The value feature tensor is flattened into a two-dimensional matrix according to its spatial location, and matrix multiplication is performed with the spatial denoising weight matrix to obtain the aggregated feature tensor. The feature of each pixel in the aggregated feature tensor is the weighted sum of the corresponding row of the spatial denoising weight matrix with respect to the feature of all pixel values, thereby extracting the long-distance dependency relationship of far pixels.

[0171] After restoring the aggregated feature tensor to a 64-pixel x 64-pixel x 64-channel spatial tensor, residual addition is performed by adding it element-wise with the shallow physical texture features. The residual addition allows the local texture information in the shallow physical texture features to be superimposed and preserved with the long-distance dependency information in the aggregated feature tensor, and outputs the thin cloud farmland feature difference matrix. The data structure of the thin cloud farmland feature difference matrix is ​​a 64-pixel x 64-pixel x 64-channel spatial tensor.

[0172] S4: Based on the thin cloud farmland feature difference matrix, perform pixel-level classification prediction to generate coarse segmentation land type label masks, and use orthogonal geometric constraint algorithm to correct the boundaries and output the final farmland-specific interpretation vector map.

[0173] The thin cloud farmland feature difference matrix has enhanced the discriminative power between thin clouds and easily confused underlying surfaces at the feature level. However, its spatial dimensions are downsampled and exist in the form of continuous features, and have not yet been converted into land use classification results usable by natural resource operations. Furthermore, the gradient effect at the edges of thin clouds can cause blurring and jagged edges in the classification boundaries. The coarse-segmented land use label mask refers to the land use identification code raster array obtained by pixel-by-pixel classification of the thin cloud farmland feature difference matrix; the final farmland-specific interpretation vector map refers to the vector graphic obtained after performing rectangular correction on the farmland boundaries of the coarse-segmented land use label mask. Therefore, step S4 must first perform pixel-level classification and then perform boundary geometric correction.

[0174] Further, step S4 includes:

[0175] S41: Perform bilinear interpolation upsampling on the feature difference matrix of thin cloud farmland to restore it to the original physical resolution size of the image. Input it into the classifier network to calculate the probability distribution of each pixel belonging to different land types and generate a farmland category probability distribution map.

[0176] The spatial size of the thin cloud farmland feature difference matrix output in step S33 is 64 pixels by 64 pixels. Compared with the original image patch of 256 pixels by 256 pixels, it loses spatial resolution. Direct classification on the low resolution will not be able to restore the fine boundary of the farmland patch. Therefore, it is necessary to first upsample and restore it to the original physical resolution size of the image before performing classification.

[0177] Specifically, bilinear interpolation upsampling is performed on the feature difference matrix of thin cloud farmland. Bilinear interpolation uses the distance-weighted sum of the feature values ​​of the four nearest neighbor grid points of the point to be interpolated in the original feature grid to obtain the interpolation result. This restores the spatial size of the feature difference matrix of thin cloud farmland from 64 pixels by 64 pixels to 256 pixels by 256 pixels, resulting in the upsampled feature tensor. See [link to documentation] Figure 7 This is a schematic diagram of bilinear interpolation upsampling operation provided in an embodiment of this application. Figure 7 As shown in the image, the left side represents the smaller feature difference matrix of thin cloud farmland. After undergoing a bilinear interpolation upsampling operation in the middle (indicated by the diffusion arrow, the interpolation result is obtained by weighted summation of the feature values ​​of the four nearest neighbor grid points according to distance), the result is output to the larger upsampled feature tensor on the right. This operation restores the spatial size of the thin cloud farmland feature difference matrix from 64 pixels by 64 pixels to 256 pixels by 256 pixels, restoring it to the original image's physical resolution. This avoids the inability to restore the fine boundaries of farmland plots due to classification at low resolution, providing spatially aligned input for subsequent classifier networks to calculate the probability distribution of each pixel belonging to different land types.

[0178] The upsampled feature tensor is input into a classifier network, which consists of two pixel-wise 1x1 convolutional layers and a normalized exponential output layer connected in series. The first 1x1 convolutional layer convolves the upsampled feature tensor with a third convolutional kernel group and activates it via a modified linear unit. The second 1x1 convolutional layer convolves its result with a fourth convolutional kernel group and outputs the pixel-wise score for each land type. The normalized exponential output layer performs a normalized exponential operation on the scores of each land type pixel by pixel, outputting the probability distribution of each pixel belonging to land types such as cultivated land, forest land, and buildings. The third and fourth convolutional kernel groups are learnable parameters obtained through training data.

[0179] Arrange the probability of each pixel belonging to the cultivated land category according to the pixel position to generate a cultivated land category probability distribution map. The data structure of the cultivated land category probability distribution map is a single-channel grid array of 256 pixels by 256 pixels. Each grid cell stores the probability value of the pixel belonging to the cultivated land category, with the value ranging from 0 to 1.

[0180] S42: Set a land category classification probability threshold, assign a specific land category identifier code to the pixels in the cultivated land category probability distribution map whose values ​​are greater than the land category classification probability threshold, and generate a coarse segmentation land category label mask.

[0181] The subsequent step S43 requires extracting edge pixel coordinate sequences from discrete land category label boundaries as input. However, the farmland category probability distribution map output by step S41 is a continuous probability value, which cannot directly define the boundaries of farmland plots. Therefore, a probability threshold must be used to convert the continuous probability values ​​into a continuous probability distribution. Figure 2 Values ​​are converted into discrete land class labels.

[0182] Specifically, the method for determining the land use classification probability threshold is as follows: on the validation set of the ultra-high resolution land use sample library, the optimal probability threshold is searched based on the criterion of maximizing the harmonic mean of precision and recall for farmland identification, and this optimal probability threshold is taken as the land use classification probability threshold. For example, the land use classification probability threshold is set to 0.5.

[0183] Traverse each pixel in the probability distribution map of cultivated land categories. When the probability value of cultivated land category of a pixel is greater than the land category classification probability threshold, assign the cultivated land category identification code to the corresponding coordinate position in the coarse segmentation land category label mask. When the probability value of cultivated land category of a pixel is not greater than the land category classification probability threshold, assign the land category identification code corresponding to the highest probability among all land categories to the corresponding coordinate position.

[0184] Arrange the land category identification codes of each pixel according to the pixel position to generate a coarse segmentation land category label mask. The data structure of the coarse segmentation land category label mask is a single-channel integer grid array of 256 pixels by 256 pixels. Each grid cell stores a land category identification code, and the cultivated land category identification code is a preset integer.

[0185] S43: Extract the edge pixel coordinate sequence of the coarsely segmented land category label mask, and use the Sobel operator to calculate the local gradient direction vector of the edge pixel coordinate sequence.

[0186] The farmland boundary of the coarsely segmented land type label mask generated in step S42 is jagged due to the gradual change of the thin cloud edge. The subsequent right-angle correction in step S44 needs to use the local orientation of the boundary as the criterion. Therefore, this step must first extract the edge pixel coordinate sequence and calculate the local gradient direction vector of each edge pixel.

[0187] Specifically, the 4-neighborhood of the coarsely segmented land category label mask is checked pixel by pixel. When the land category identifier of a pixel is different from the land category identifier of at least one of the 4 neighboring pixels, the pixel is determined to be an edge pixel. All edge pixels are arranged in the order of connectivity along the land category boundary in the mask to form an edge pixel coordinate sequence. The data structure of the edge pixel coordinate sequence is a two-dimensional pixel coordinate array arranged in the order of boundary connectivity.

[0188] The Sobel operator is used to perform horizontal and vertical convolutions on the coarsely segmented land cover label mask. The horizontal convolution outputs the horizontal gradient components of each edge pixel, and the vertical convolution outputs the vertical gradient components of each edge pixel.

[0189] The horizontal and vertical gradient components of each edge pixel are combined to form a two-dimensional vector, which serves as the local gradient direction vector for that edge pixel. The direction angle of this local gradient direction vector is the arctangent of the ratio of the vertical gradient component to the horizontal gradient component, representing the normal direction of the land class boundary at that edge pixel. See also Figure 8 This is a schematic diagram of local gradient direction vector calculation provided in an embodiment of this application. Figure 8 As shown, the left side of the image displays a stepped arrangement of edge pixel squares, with one corner square highlighted in gray and labeled as an edge pixel. After zooming in, a Cartesian coordinate system is established within the circular viewport on the right. Two component vectors, the horizontal and vertical gradient components, are drawn with the origin as the starting point. The diagonal of the rectangle formed by these two components represents the diagonally drawn local gradient direction vector. This calculation utilizes the Sobel operator to perform horizontal and vertical convolutions on the coarsely segmented land use label mask, forming a two-dimensional vector from the horizontal and vertical gradient components of each edge pixel. The orientation angle is the arctangent of the ratio of the vertical to the horizontal gradient components, representing the normal direction of the land use boundary at that edge pixel. This provides a criterion for the local boundary orientation in subsequent Cartesianization correction.

[0190] For example, suppose the horizontal gradient component of an edge pixel is 4 and the vertical gradient component is 4, then the direction angle of the local gradient direction vector of that edge pixel is... Spend.

[0191] S44: Use the orthogonal geometric constraint algorithm to identify edge pixel coordinate sequence segments where local gradient direction vectors are not parallel, perform forced rectangular polyline fitting, and output the final farmland-specific interpretation vector map.

[0192] In natural resource operations, the boundaries of cultivated land plots and interspersed artificial features such as plastic greenhouses and buildings generally exhibit straight and right-angle characteristics. However, due to the transmission gradient effect of the thin cloud edge, the boundaries of cultivated land in thin cloud-covered areas are blurred into jagged gradient boundaries in the coarse-segmented land category label mask. Common point-by-point boundary tracking methods will retain the jaggedness as it is, causing the interpreted boundary to deviate from the true straight physical boundary of the artificial features. Therefore, it is necessary to introduce an orthogonal geometric constraint algorithm to integrate the straight and right-angle boundary attributes into the interpretation process.

[0193] Specifically, the edge pixel coordinate sequence is first simplified using Douglas-Pokal polyline simplification. The maximum perpendicular distance from the edge pixel to the fitted line segment does not exceed the simplification distance threshold. The edge pixel coordinate sequence is then compressed into a polyline vertex sequence. The simplification distance threshold is determined by taking an integer multiple of the ground sampling interval corresponding to the physical resolution of the original image. For example, the simplification distance threshold is set to 2 pixels.

[0194] The direction angles of each segment in the sequence of broken line vertices are statistically analyzed. The direction angle with the highest frequency in the direction angle histogram is taken as the main direction. The main direction and the main direction plus 90 degrees form an orthogonal constraint direction set.

[0195] Traverse the sequence of adjacent polyline vertices and calculate the difference in direction angle between the two adjacent polyline segments. When the difference in direction angle between the two adjacent polyline segments deviates from an integer multiple of 90 degrees and exceeds the non-parallelism determination threshold, the segment containing the two adjacent polyline segments is determined to be a segment where the local gradient direction vectors are non-parallel. The non-parallelism determination threshold is determined by taking the upper bound of the angle corresponding to the Sobel operator direction angle quantization error. For example, the non-parallelism determination threshold is set to 15 degrees.

[0196] For the identified non-parallel segments of local gradient direction vectors, a forced rectangular polyline fitting is performed. The direction angle of each polyline segment within the segment is aligned with the closest direction in the orthogonal constraint direction set. The coordinates of the polyline vertices are adjusted to ensure that adjacent polyline segments are strictly 90 degrees apart, resulting in a rectangular polyline. See also... Figure 9 This is a schematic diagram of forced right-angled polyline fitting provided in an embodiment of this application. For example... Figure 9 As shown in the figure, the left side of the image represents a jagged, gradually changing boundary, marked with several dotted vertices of broken lines. The boundary exhibits a jagged, jagged appearance due to the transmission gradient effect at the edge of thin clouds. The middle section represents the orthogonal constraint direction set, consisting of two mutually perpendicular dashed horizontal and vertical axes, marked with right-angle symbols, corresponding to the orthogonal constraint direction set formed by the main direction and the main direction plus 90 degrees. The right side represents a right-angled broken line, formed by connecting pure horizontal and vertical segments end to end. This fitting process absorbs the direction angle of each broken line segment within the non-parallel local gradient direction vector area to the closest direction in the orthogonal constraint direction set, and adjusts the coordinates of the broken line vertices to ensure that adjacent broken line segments are strictly 90 degrees apart. Without altering the topological relationship of the cultivated land plots, the jagged, jagged sections are restored to straight line segments, ensuring that the cultivated land boundary in the final cultivated land interpretation vector map is consistent with the actual straight-line physical boundaries of artificially cultivated areas and plastic greenhouses.

[0197] All rectangular polylines are organized into closed polygons according to the connectivity of cultivated land plots. After being converted into a vector data structure, the final cultivated land interpretation vector map is output. The data structure of the final cultivated land interpretation vector map is a set of vector polygons composed of vertex coordinate sequences and land type identification code attributes.

[0198] The orthogonal geometric constraint algorithm addresses the blurring and jaggedness errors in farmland boundaries caused by the gradual transition effect at the thin cloud edge. It forcibly absorbs the directions of non-parallel segment polygons in areas with non-parallel local gradient direction vectors into a set of orthogonal directions spanned by the main direction of the land parcel. In farmland interpretation scenarios within thin cloud areas, the transmittance at the thin cloud edge continuously decreases along its outer edge, causing the local gradient direction vectors of the edge pixels in this area to continuously deflect with the gradual transition. The boundary obtained through point-by-point tracking thus exhibits jagged jitter near the actual straight line segment, with the jitter amplitude proportional to the transmittance gradient at the thin cloud edge. The rectangular polyline fitting constrains the direction of each polyline segment using the main direction of the land parcel as the sole reference. This ensures that the direction deflection caused by the thin cloud edge is merged into the nearest orthogonal direction during direction absorption. Thus, without altering the topological relationship of the farmland parcels, the jagged jitter segments are restored to straight line segments. This ensures that the farmland boundary in the final farmland-specific interpretation vector map is consistent with the actual straight physical boundaries of artificially cultivated areas and plastic greenhouses, providing accurate vector interpretation results for the remote sensing monitoring of farmland non-agriculturalization.

[0199] Furthermore, since there are overlapping areas between adjacent image blocks, when the final farmland-specific interpretation vector maps of each image block are stitched into the whole image interpretation result, the principle of prioritizing the non-overlapping central area of ​​each image block and taking the midline of the stitching boundary of adjacent image blocks for overlapping areas is followed to eliminate the problem of duplicate vectors or inconsistent boundaries that may occur in overlapping areas. This stitching process is a conventional processing of vector data mosaicking and does not change the processing logic of the aforementioned steps.

[0200] Through steps S1 to S4, this embodiment explicitly calculates the physical reflectance of the land surface through radiometric calibration and retains its optical radiation properties before cutting. It performs hard truncation on the distortion extreme values ​​of high reflectance features in the color prior map using the real physical radiation amount. Then, it converts the zero-value coordinates of the corrected color prior map into infinitesimal penalty terms in the similarity matrix operation of the global information aggregation link. It directly cuts off the erroneous attention association between the local texture features of the thin cloud area and the distant bright non-farmland pixels from the underlying mathematical link. Finally, it combines the orthogonal geometric constraint algorithm to correct the boundary. In the complex underlying surface scene where farmland and high reflectance features are intertwined in the thin cloud coverage area, it reduces the thin cloud missed detection rate and suppresses farmland interpretation boundary distortion, thereby achieving high-precision intelligent interpretation of land types in the whole-domain image.

[0201] Example 2:

[0202] This embodiment, based on Embodiment 1, provides a color priori guidance system for interpreting farmland in thin cloud areas of remote sensing images, such as... Figure 10 As shown, it includes:

[0203] The data acquisition and radiometric calibration module is used to acquire aerial multispectral images of the target's underlying surface through airborne optical remote sensing sensors, convert physical radiance and perform segmentation processing, and output multi-channel remote sensing image patch sequences and local reflectance matrix sequences.

[0204] The physical prior extreme value truncation module is used to calculate the physical characteristics of dark channel and color attenuation based on the multi-channel remote sensing image block sequence to generate an initial color prior map, and to perform extreme value truncation in combination with the local reflectance matrix sequence to generate a corrected color prior guide map.

[0205] The global feature space aggregation module is used to input the multi-channel remote sensing image patch sequence and the corrected color prior guide map into the convolutional network to extract shallow physical texture features, and use the corrected color prior guide map to limit the similarity weight to generate a thin cloud farmland feature difference matrix.

[0206] The orthogonal vector interpretation and correction module is used to perform pixel-level classification prediction based on the thin cloud farmland feature difference matrix to generate a coarsely segmented land type label mask, and use the orthogonal geometric constraint algorithm to correct the boundary and output the final farmland-specific interpretation vector map.

Claims

1. A color-prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images, characterized in that, include: Aerial multispectral images of the target's underlying surface are acquired using an airborne optical remote sensing sensor. The physical radiance is converted and segmented to output a multi-channel remote sensing image patch sequence and a local reflectance matrix sequence. The visible light channels of the multi-channel remote sensing image patch sequence are traversed, and the physical minimum value of the channel pixels is extracted within a local sliding window to form a dark channel prior feature array. The difference between the brightness channel and the saturation channel of each pixel in the multi-channel remote sensing image patch sequence is calculated and multiplied by the atmospheric scattering physical coefficient to obtain a color attenuation prior feature array. The dark channel prior feature array and the color attenuation prior feature array are concatenated along the channel dimension to generate an initial color prior map. A reflectance saturation physical threshold is set, and the local reflectance matrix sequence is compared pixel by pixel. When the pixel value in the local reflectance matrix sequence is greater than the reflectance saturation physical threshold, the response value at the corresponding coordinate position in the initial color prior map is forcibly set to zero to generate a corrected color prior guide map. The multi-channel remote sensing image patch sequence and the corrected color prior guidance map are synchronously input into a preset convolutional network for downsampling and pooling operations to extract shallow physical texture features. The inter-pixel similarity weight array of the shallow physical texture features in the spatial dimension is calculated using matrix multiplication. The inter-pixel similarity weight array elements corresponding to the coordinates of the corrected color prior guidance map that are zero are forced to infinitesimal. After processing with a normalized exponential function, a spatial denoising weight matrix is ​​obtained. The spatial denoising weight matrix is ​​multiplied by the shallow physical texture features to extract the long-distance dependency relationship of distant pixels, and the residual is added to the shallow physical texture features to output a thin cloud farmland feature difference matrix. Based on the thin cloud farmland feature difference matrix, pixel-level classification prediction is performed to generate a coarsely segmented land type label mask. The boundary is corrected using an orthogonal geometric constraint algorithm to output the final farmland-specific interpretation vector map.

2. The color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 1, characterized in that, The output multi-channel remote sensing image patch sequence and local reflectance matrix sequence include: Control the airborne optical remote sensing sensor to perform push-broom imaging of the target's underlying surface and acquire aerial multispectral images containing red, green, blue and near-infrared physical bands; Read the digital quantization value of each pixel in the aerial multispectral image, and use the radiometric calibration parameters to convert the digital quantization value into the physical reflectance of the ground surface to form an initial matrix of the ground surface reflectance. The aerial multispectral image and the initial surface reflectance matrix are synchronously overlapped and cut according to a preset fixed pixel grid size, and multi-channel remote sensing image block sequence and local reflectance matrix sequence are output respectively.

3. The color prior guidance correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 2, characterized in that, The step of converting the digitally quantized value into surface physical reflectance using radiometric calibration parameters to construct the initial surface reflectance matrix includes: The digital quantization value is converted into the radiance at the sensor entrance pupil using the gain coefficient and offset coefficient in the radiometric calibration parameters. The radiance is converted into the physical reflectance of the Earth's surface using solar irradiance parameters; The surface physical reflectance of the red band, green band, blue band and near-infrared band is stacked according to the band to form the initial surface reflectance matrix. The data structure of the initial surface reflectance matrix is ​​a three-dimensional grid array with three dimensions: rows, columns and bands.

4. The color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 1, characterized in that, The generation of the corrected color prior guide map includes: Set the physical threshold for reflectivity saturation; The local reflectivity matrix sequence is compared pixel by pixel with the physical reflectivity saturation threshold. The coordinates of the surface physical reflectivity that is greater than the physical reflectivity saturation threshold are marked to generate a high reflectivity coordinate mask. Based on the high reflectivity coordinate mask, the response value at the corresponding coordinate position in the initial color prior map is forced to zero, thereby generating a corrected color prior guide map.

5. The color prior guidance correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 1, characterized in that, The extraction of shallow physical texture features includes: In the channel dimension, the bands of the multi-channel remote sensing image patch sequence are stitched together with the channels of the corrected color prior guide map to form the input tensor; The input tensor is convolved with the first convolution kernel group by the first downsampling cascade unit and a first bias vector is added. After processing by the modified linear unit activation function, max pooling is performed to output the first intermediate feature. The first intermediate feature is convolved with the second convolution kernel group by the second downsampling cascade unit and a second bias vector is added. After processing by the modified linear unit activation function, max pooling is performed to output shallow physical texture features.

6. The color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 1, characterized in that, The spatial noise reduction weight matrix obtained after processing with the normalized exponential function includes: Matrix multiplication is used to calculate the pixel similarity weight array of shallow physical texture features in the spatial dimension; The corrected color prior guide map is downsampled by max pooling at the downsampling factor to obtain the downsampled corrected color prior guide map, and then flattened according to spatial position. When the channel values ​​of the color prior guide map after downsampling correction are all zero at a certain spatial location, the entire row and column elements corresponding to that spatial location in the pixel similarity weight array are forcibly set to infinitesimal, while the corresponding main diagonal elements are kept unchanged, thus generating a masked similarity weight array. The similarity weight array after masking is processed row by row using a normalized exponential function to obtain the spatial noise reduction weight matrix.

7. The color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 1, characterized in that, The method of using orthogonal geometric constraint algorithm to correct boundaries and output the final farmland-specific interpretation vector map includes: The thin cloud farmland feature difference matrix is ​​subjected to bilinear interpolation upsampling operation, and the result is input into the classifier network to calculate the probability distribution of each pixel belonging to different land types, thereby generating a farmland category probability distribution map. Set a land category classification probability threshold, assign a specific land category identifier code to the pixels in the cultivated land category probability distribution map whose values ​​are greater than the land category classification probability threshold, and generate a coarse segmentation land category label mask; Extract the edge pixel coordinate sequence of the coarsely segmented land category label mask, and use the Sobel operator to calculate the local gradient direction vector of the edge pixel coordinate sequence; The orthogonal geometric constraint algorithm is used to identify edge pixel coordinate sequence segments where local gradient direction vectors are not parallel, and forced rectangular polyline fitting is performed to output the final farmland-specific interpretation vector map.

8. The color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 7, characterized in that, The step of setting a land category classification probability threshold and assigning specific arable land category identifier codes to pixels in the arable land category probability distribution map whose values ​​are greater than the land category classification probability threshold, and generating a coarse-segmented land category label mask, includes: On the sample validation set, the search is performed based on maximizing the harmonic mean of precision and recall for farmland identification, and the optimal probability threshold is taken as the probability threshold for land use classification. Traverse each pixel of the cultivated land category probability distribution map. When the cultivated land category probability value of a certain pixel is greater than the land category classification probability threshold, assign the cultivated land category identification code to the corresponding coordinate position in the coarse segmentation land category label mask. When the probability value of a certain pixel for cultivated land category is not greater than the land category classification probability threshold, the corresponding coordinate position is assigned to the land category identifier code corresponding to the highest probability among all land categories, and a coarse segmentation land category label mask is generated.

9. The color prior-guided correction method for interpreting farmland in thin cloud areas of remote sensing images according to claim 7, characterized in that, The process of using an orthogonal geometric constraint algorithm to identify edge pixel coordinate sequence segments where local gradient direction vectors are not parallel, performing forced rectangular polyline fitting, and outputting the final farmland-specific interpretation vector map includes: The edge pixel coordinate sequence is simplified by performing polyline simplification to compress the edge pixel coordinate sequence into a polyline vertex sequence, and the orthogonal constraint direction set is extracted by taking the direction angle with the highest frequency of each polyline segment in the polyline vertex sequence as the main direction. Traverse the sequence of vertex points of the polyline between two adjacent polyline segments. When the difference between the direction angles of two adjacent polyline segments deviates from the right angle by an integer multiple exceeding the non-parallelism threshold, it is determined to be a segment where the local gradient direction vectors are not parallel. The direction angle of each polyline segment within the non-parallel segment of the local gradient direction vector is snapped to the direction closest to the orthogonal constraint direction set, and the coordinates of the polyline vertex are adjusted to obtain a rectangular polyline. All rectangular polylines are organized into closed polygons according to the connectivity of farmland plots, and after being converted into vector data structures, the final farmland-specific interpretation vector map is output.

10. A color prior guidance correction system for interpreting farmland in thin cloud areas of remote sensing images, used to implement the color prior guidance correction method for interpreting farmland in thin cloud areas of remote sensing images as described in any one of claims 1 to 9, characterized in that, The system includes: The data acquisition and radiometric calibration module is used to acquire aerial multispectral images of the target's underlying surface through airborne optical remote sensing sensors, convert physical radiance and perform segmentation processing, and output multi-channel remote sensing image patch sequences and local reflectance matrix sequences. The physical prior extreme value truncation module is used to traverse the visible light channels of the multi-channel remote sensing image patch sequence, extract the physical minimum value of the channel pixels within a local sliding window, form a dark channel prior feature array, calculate the difference between the brightness channel and saturation channel of each pixel in the multi-channel remote sensing image patch sequence, and multiply it with the atmospheric scattering physical coefficient to obtain a color attenuation prior feature array. The dark channel prior feature array and the color attenuation prior feature array are concatenated along the channel dimension to generate an initial color prior map. A reflectance saturation physical threshold is set, and the local reflectance matrix sequence is compared pixel by pixel. When the pixel value in the local reflectance matrix sequence is greater than the reflectance saturation physical threshold, the response value at the corresponding coordinate position in the initial color prior map is forcibly set to zero to generate a corrected color prior guide map. The global feature space aggregation module is used to synchronously input the multi-channel remote sensing image patch sequence and the corrected color prior guidance map into a preset convolutional network for downsampling pooling operation to extract shallow physical texture features. The module calculates the pixel similarity weight array of the shallow physical texture features in the spatial dimension using matrix multiplication. The pixel similarity weight array elements corresponding to the coordinate positions with zero values ​​in the corrected color prior guidance map are forced to be infinitesimal. After processing with a normalized exponential function, a spatial noise reduction weight matrix is ​​obtained. The spatial noise reduction weight matrix is ​​multiplied with the shallow physical texture features to extract the long-distance dependency relationship of far-end pixels. The residual is added to the shallow physical texture features to output the thin cloud farmland feature difference matrix. The orthogonal vector interpretation and correction module is used to perform pixel-level classification prediction based on the thin cloud farmland feature difference matrix to generate a coarsely segmented land type label mask, and use the orthogonal geometric constraint algorithm to correct the boundary and output the final farmland-specific interpretation vector map.

Citation Information

Patent Citations

  • Remote sensing image cloud detection method based on cascade color and texture feature attention

    CN113887472A

  • Remote sensing image thin cloud removal method and device based on dark channel prior guidance

    CN122367768A