DMSP / OLS data correction method, system and medium based on random forest algorithm

The DMSP/OLS nighttime light data is corrected through the random forest algorithm, which solves the problems of data saturation effect, blooming effect and inter-annual inconsistency, and achieves higher data accuracy and stability.

CN114529478BActive Publication Date: 2024-09-03JINAN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210188312.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-09-03
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

DMSP/OLS nighttime light remote sensing data has saturation effect, bloom effect and inter-annual inconsistency problems, which affect the accuracy and usability of the data. It is difficult for existing technology to effectively solve these problems at the same time.

Method used

Adopt a data correction method based on the random forest algorithm, by reading and preprocessing night light images, calculating the coefficient of variation and Moran index, cropping the data, using the random forest regression algorithm to correct saturation and blooming effects, and performing multi-sensor same-year and continuity corrections .

Benefits of technology

It effectively solves the saturation effect, blooming effect and inter-annual inconsistency problems of nighttime light data, improves the accuracy and usability of data, avoids over-fitting, and generates correction results that are more realistic.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114529478B
    Figure CN114529478B
Patent Text Reader

Abstract

The present invention discloses a DMSP / OLS data correction method, system and medium based on a random forest algorithm; the method calculates the coefficient of variation of the DMSP / OLS stable night light image to be corrected, selects a reference area to crop and merge the image to be corrected and the calibration image; uses the obtained data to construct a correction model based on a random forest regression algorithm and performs corrections for image saturation effect and blooming effect, multi-sensor same-year correction, and continuity correction. The present invention calculates the coefficient of variation of the image to select a reference area to extract stable pixels, the method is simple, and the error of subjective selection is reduced; the present invention avoids the problem of overfitting by constructing a correction model based on a random forest regression algorithm, and has higher accuracy, so that the corrected data is more in line with reality, and the problems of saturation effect, blooming effect and inter-annual inconsistency of stable NTL data are simply and effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of remote sensing image processing, and in particular relates to a DMSP / OLS data correction method, system and medium based on a random forest algorithm. Background Art

[0002] The global nighttime light (NTL) dataset of the Defense Meteorological Satellite Program / Operational Line scan System (DMSP / OLS) satellite radar is the only dataset that provides nighttime light information from 1992 to 2013. It is widely used in the fields of economic total estimation, electricity consumption estimation, urban built-up area extraction, population density estimation, natural disaster assessment, etc. Therefore, in order to study and supplement the economic situation before 2013 or other related fields, we need effective DMSP / OLS nighttime light remote sensing image data. There are four types of DMSP / OLS nighttime light datasets: the original nighttime light dataset from 1992 to 2013, the stable nighttime light dataset, the cloud-free nighttime light dataset, and seven years of radiation calibration data. Among them, the stable nighttime light dataset is the most commonly used data, which contains lights from cities, towns, and other places with continuous lighting.

[0003] There are three main problems with the nighttime light remote sensing data of DMSP / OLS, namely, saturation effect, blooming effect, and interannual inconsistency, which greatly affect the accuracy and availability of the data. The saturation effect is due to the fact that OLS cannot record DN values ​​greater than 63. In the urban center where the lighting intensity exceeds the detection limit, the spatial differences in actual light intensity cannot be represented, which limits the application of nighttime light data in quantitative analysis of economic, population and other related parameters. The blooming effect is that the illumination area detected by OLS is larger than the actual spatial range of the light source distribution, resulting in an overestimation of the scope of the urban area. In addition, sensor degradation and lack of airborne calibration lead to interannual inconsistency problems. The nighttime light data collected by sensors in different years and different satellites cannot be directly compared, making it impossible to establish a long-term series. Therefore, the nighttime light data needs to be corrected before application.

[0004] In order to overcome the problem of interannual inconsistency, Elvige et al. first proposed the use of the invariant region method to correct the global night light image, and used a quadratic equation model to implement the correction. For the saturation problem, Yang et al. proposed a saturation correction method based on regression model and radiation calibration NTL data to correct the saturation effect in the annual stable NTL data. Cao et al. developed a self-adjusting model to correct the halo effect in DMSP-OLS NTL data based on the spatial response function without using any auxiliary data. In general, there are currently few methods that can simultaneously and simply and effectively solve the three main problems of stable NTL data, and most of the current correction models use simple regression equation models, which have the problem of overfitting. The use of random forest regression algorithm to establish a correction model can solve the above problems.

[0005] Random forest (Breiman, 2001) in machine learning is an integrated algorithm with the advantages of high anti-overfitting ability and accuracy. It combines multiple weak classifiers, and the final result is determined by voting or taking the average, so that the result of the overall model has high accuracy and generalization performance. Summary of the invention

[0006] The main purpose of the present invention is to overcome the shortcomings and deficiencies of the prior art and to provide a DMSP / OLS data correction method, system and medium based on a random forest algorithm.

[0007] In order to achieve the above object, the present invention adopts the following technical solutions:

[0008] One aspect of the present invention provides a DMSP / OLS data correction method based on a random forest algorithm, comprising the following steps:

[0009] Read the DMSP / OLS night light images to be corrected and the DMSP / OLS night light images for radiation calibration and perform preprocessing;

[0010] Calculate the coefficient of variation of the DMSP / OLS nighttime light image to be corrected, and select the area with a coefficient of variation less than a preset value as the reference area;

[0011] Crop the DMSP / OLS nighttime light image to be corrected according to the range of the reference area, and convert the raster data into points;

[0012] Calculating the local Moran index of the radiation-calibrated DMSP / OLS nighttime light image, clipping it according to the range of the reference area, importing the data into the data of the grid data conversion point, and exporting the imported and merged data;

[0013] Correcting the saturation effect and blooming effect of night light images on the imported merged data based on a random forest regression algorithm;

[0014] Replace the parts of the uncorrected DMSP / OLS night light images with DN values ​​> 0 with the DMSP / OLS night light images corrected for saturation and bloom effects;

[0015] Perform multi-sensor same-year correction on the DMSP / OLS nighttime light images after saturation and blooming effect correction and replacement processing;

[0016] Carry out continuity correction on the DMSP / OLS night light images corrected by multiple sensors in the same year to obtain the continuity-corrected DMSP / OLS night light images;

[0017] The parts of the uncorrected DMSP / OLS nighttime light images with DN values ​​> 0 are replaced by the continuity-corrected DMSP / OLS nighttime light images.

[0018] As a preferred technical solution, the pretreatment is specifically:

[0019] The boundary vector data of the study area are used to crop the DMSP / OLS night light images to be corrected and the DMSP / OLS night light images for radiation calibration. The spatial resolution of the images is resampled to 1000m, and the coordinate transformation is performed.

[0020] As a preferred technical solution, the coefficient of variation of the DMSP / OLS nighttime light image to be corrected is calculated as follows:

[0021] CV=(SD / MN)×100%

[0022] Where SD is the standard deviation of all pixel values ​​in all years, and MN is the mean value of all pixel DN values ​​in all years.

[0023] As a preferred technical solution, the calculation results of the coefficient of variation are classified using a natural breakpoint method, and an area where the coefficient of variation is less than a preset value is selected as a reference area.

[0024] As a preferred technical solution, the local Moran index of the radiometrically calibrated DMSP / OLS nighttime light image is calculated to obtain the spatial distribution characteristics of the radiometrically calibrated DMSP / OLS nighttime light image;

[0025] The reference area is cropped according to its range, the values ​​of the processed DMSP / OLS nighttime light image are extracted into the data of the raster data conversion point, and the obtained data is exported as a table to obtain the original data required for building the correction model.

[0026] As a preferred technical solution, the random forest regression algorithm is used to correct the night light data saturation effect and blooming effect of the imported merged data, specifically: a correction model is constructed, and the final result is determined by voting or taking the average by combining multiple weak classifiers.

[0027] As a preferred technical solution, the multi-sensor calibration is performed in the same year, specifically as follows:

[0028]

[0029] Where: DN (n,i) is the DN value of pixel i in the image of year n after correction, and It represents the DN value of pixel i in the images obtained by two different sensors before correction.

[0030] As a preferred technical solution, the continuity correction is specifically as follows:

[0031]

[0032] Where DN (n-1,i) DN (n,i) and DN (n+1,i) is the DN value of the ith pixel of the stable NTL data in the n-1th year, the nth year, and the n+1th year.

[0033] Another aspect of the present invention provides a DMSP / OLS data correction system based on a random forest algorithm, which is applied to the above-mentioned DMSP / OLS data correction method based on a random forest algorithm, including a preprocessing module, a clipping module, a saturation / blooming effect correction module, a multi-sensor same-year correction module, and a continuity correction module;

[0034] The preprocessing module is used to read the DMSP / OLS nighttime light image to be corrected and the DMSP / OLS nighttime light image for radiation calibration and perform preprocessing;

[0035] The clipping module is used to calculate the coefficient of variation of the DMSP / OLS nighttime light image to be corrected, select an area with a coefficient of variation less than a preset value as a reference area, and clip the DMSP / OLS nighttime light image to be corrected according to the range of the reference area, convert the raster data to points, and finally calculate the local Moran index of the radiation-calibrated DMSP / OLS nighttime light image, and clip it according to the range of the reference area, import the data into the data converted from the raster data, and export the imported and merged data;

[0036] The saturation / blooming effect correction module is used to correct the saturation effect and blooming effect of the night light image on the imported merged data based on the random forest regression algorithm, and replace the part of the DMSP / OLS night light image with a DN value>0 in the uncorrected DMSP / OLS night light image with the DMSP / OLS night light image corrected for the saturation effect and blooming effect;

[0037] The multi-sensor year correction module is used to perform multi-sensor year correction on the DMSP / OLS nighttime light image after saturation effect and blooming effect correction and replacement processing;

[0038] The continuity correction module is used to perform continuity correction on the DMSP / OLS night light image that has been calibrated by multiple sensors in the same year to obtain a continuity-corrected DMSP / OLS night light image, and to replace the portion of the uncorrected DMSP / OLS night light image with a DN value > 0 with the continuity-corrected DMSP / OLS night light image.

[0039] Another aspect of the present invention provides a storage medium storing a program, wherein when the program is executed by a processor, the above-mentioned DMSP / OLS data correction method based on the random forest algorithm is implemented.

[0040] Compared with the prior art, the present invention has the following advantages and beneficial effects:

[0041] (1) In the selection of the reference area, the present invention extracts stable pixels by calculating the coefficient of variation. The method is simple and can also reduce the error caused by subjective selection.

[0042] (2) In the selection of the correction equation, the present invention selects the random forest algorithm with higher accuracy and generalization performance. Compared with the quadratic equation and the power function, the random forest can avoid the problem of overfitting and has higher accuracy, making the corrected data more realistic.

[0043] (3) The present invention can simultaneously and simply and effectively solve the three main problems existing in stable NTL data: saturation effect, blooming effect and interannual inconsistency. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a technical flow chart of a DMSP / OLS data correction method based on a random forest algorithm according to an embodiment of the present invention;

[0045] Figure 2 This is a comparison diagram of the DMSP / OLS stable nighttime light images of the five cities with the largest saturation effects in 2006 before and after correction according to an embodiment of the present invention;

[0046] Figure 3is a comparison chart of the total number of bright value pixels in the Chinese region calculated after the image before correction according to the embodiment of the present invention; wherein Figure 3 (a) represents the total number of bright pixels in the Chinese region of the uncorrected image. Figure 3 (b) represents the total number of bright pixels in the Chinese region of the corrected image;

[0047] Figure 4 : is a schematic diagram of the degree of fit between the image DN value and the provincial GDP before and after correction according to an embodiment of the present invention; wherein Figure 4 (a) Schematic diagram showing the fit between the uncorrected image DN value and provincial GDP. Figure 4 (b) Schematic diagram showing the fit between the DN value of the corrected image and the provincial GDP;

[0048] Figure 5 It is a structural schematic diagram of a DMSP / OLS data correction system based on a random forest algorithm according to an embodiment of the present invention;

[0049] Figure 6 It is a schematic diagram of the structure of the storage medium of an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0051] Example

[0052] like Figure 1 As shown, this embodiment provides a DMSP / OLS data correction method based on a random forest algorithm, comprising the following steps:

[0053] Step 1: Read the DMSP / OLS stable night light image to be corrected and the DMSP / OLS stable night light image for radiation calibration (in this embodiment, the images of the F12 satellite from 1992 to 2013 are selected as the images to be corrected, and the images in 2006 are selected as the radiation calibration images, and the light sources caused by emergencies are removed), and perform preprocessing.

[0054] Furthermore, the preprocessing is specifically as follows:

[0055] 1. Read the DMSP / OLS image of stable night lights to be corrected (select the image of F12 satellite in 1992 for processing in step 1), crop the image with the boundary vector data of the study area, resample the spatial resolution of the image to 1000m, transform the image coordinates, and convert it into China_Lambert_Conformal_Conic (hereinafter referred to as image a).

[0056] 2. Read the 2006 radiation calibration DMSP / OLS stable night light image, crop the image using the boundary vector data of the study area, resample the spatial resolution of the two images to 1000m, transform the image coordinates, and convert it into China_Lambert_Conformal_Conic.

[0057] Step 2: Calculate the coefficient of variation of all DMSP / OLS stable nighttime light image data from 1992 to 2013 as follows:

[0058] CV=(SD / MN)×100%

[0059] Among them, SD is the standard deviation obtained by adding up the pixel values ​​of all years, MN is the average value obtained by adding up the DN values ​​of the pixels of all years, and the DN value (Digital Number) is the brightness value of the remote sensing image pixel, which refers to the brightness value of the DMSP / OLS image. The larger the DN value of the pixel, the higher the night light brightness value of the area it represents.

[0060] The calculated results are classified using the natural breakpoint method, and the region with a coefficient of variation less than a preset value (the preset value in this embodiment is 23.9) is selected as the reference region.

[0061] Step 3: Crop the image to be corrected according to the range of the reference area obtained in step 2 and convert the raster data into points.

[0062] Furthermore, in step 3, the Extract by Mask tool in ArcGIS is used to crop the image to be corrected with the reference area obtained in step 2, the image is converted to points using the Raster to Point tool, and the count value column in the attribute table is named F101992 (named according to the corresponding name of the night light image data to be corrected)

[0063] Step 4: Calculate the local Moran index of the 2006 radiation calibration night light image data obtained in step 1, and crop it according to the range of the reference area obtained in step 2, import the data into the point data obtained in step 3, and export the data to an Excel table.

[0064] Furthermore, in step 4, the MoranLocal function in the raster toolkit of the R language is used to calculate the local Moran index of the 2006 radiation calibration night light image data obtained in step 1 (hereinafter referred to as image b); the Extract by Mask tool in ArcGIS is used to crop image b with the reference area obtained in step 2, and the processed image is extracted to the point data obtained in step 3 using the Extract Multivalues ​​to Points function, and the count value column in the attribute table is named J2006. The obtained raster image is imported into ArcGIS, and the processed image is extracted to the point data obtained in step 3 using the Extract Multivalues ​​to Points function, and the count value column in the local Moran index attribute table is named lmn2006, and the results are stored in Excel in csv format.

[0065] Step 5: Use the random forest regression algorithm to correct the saturation effect and blooming effect of the night light image data in step 4, specifically:

[0066] Construct a correction model and combine multiple weak classifiers to determine the final result by voting or taking the average, so that the result of the overall model has a higher accuracy.

[0067] Furthermore, the Random Forest function in the random forest regression algorithm toolkit is used to correct the night light image data. The correction code is as follows:

[0068] [1]library(raster)

[0069] [2] library(randomForest)

[0070] [3]r1<-raster() The content in brackets is the storage path of image b in the computer

[0071] [4]re<-raster() The content in brackets is the storage path of image a in the computer.

[0072] [5]rr<-read.csv() The path in the brackets is the storage path of the csv table in step 4 on the computer.

[0073] [6]rf<-randomForest(F2006~JF101992+lmn2006,data=rr)Change the name of “F101992” to the corresponding step 3 when correcting different images

[0074] [7]re1<-stack(re,r1)

[0075] [8]names(re1)

[0076] [9] names(re1) <- c("JF2006", "lmn2006") When correcting different images, change "F101992" to the name corresponding to step 3

[0077]

[10] prf<-predict(re1,rf,progress="txt")

[0078] writeRaster(prf,filename="moranJZF101992.tif",format="GTiff",overwrite="TRUE)Change "JF101992" when correcting different satellites

[0079] Step 6: Replace the portion of the uncorrected image with a DN value > 0 with the corrected image.

[0080] Step 7: Use the formula to perform multi-sensor same-year correction on the DMSP / OLS nighttime light image processed in step 6. The formula is as follows:

[0081]

[0082] Where: DN (n,i) is the DN value of pixel i in the image of year n after correction, and It represents the DN value of pixel i in the images obtained by two different sensors before correction.

[0083] Step 8: Use the formula to perform continuity correction on the DMSP / OLS image processed in step 7 to obtain the corrected DMSP / OLS image. The formula is:

[0084]

[0085] Where DN (n-1,i) DN (n,i) and DN (n+1,i) is the DN value of the ith pixel of the stable NTL data in the n-1th year, the nth year, and the n+1th year.

[0086] Step 9: Replace the part of the uncorrected image with DN value > 0 with the image processed in step 7 to avoid generating new brightness pixels due to correction.

[0087] Figure 2 This is a comparison diagram of the DMSP / OLS stable night light images of the five cities with the largest saturation effects in 2006 before and after correction as described in the embodiment of the present invention; visual evaluation shows that the method has a good application effect at the city level, and the image corrected using the method can well reduce the blooming effect and saturation effect of the image.

[0088] Visual evaluation shows that this method works well in areas where the saturation effect and blooming effect are serious. The image corrected using this method can effectively reduce the blooming effect and saturation effect of the image.

[0089] Figure 3 is a comparison chart of the total number of bright pixels (total light index, TLI) in the Chinese region calculated after the image before correction according to the embodiment of the present invention; wherein Figure 3 (a) represents the total number of bright pixels in the Chinese region of the uncorrected image. Figure 3 (b) Represents the total number of bright pixels in the Chinese region of the corrected image; the results show that this method can reduce the deviation between data from different sensors in the same year and generate a stable time series, effectively improving the problem of inter-annual inconsistency of data.

[0090] Figure 4 : is a schematic diagram of the degree of fit between the image DN value and the provincial GDP before and after correction according to an embodiment of the present invention; wherein Figure 4 (a) Schematic diagram showing the fit between the uncorrected image DN value and provincial GDP. Figure 4 (b) Schematic diagram showing the fit between the DN value of the corrected image and the provincial GDP; the results show that compared with the uncorrected image, the correlation between the image obtained by this method and the provincial GDP is improved, indicating that the corrected result is more in line with reality.

[0091] like Figure 5 As shown, in another embodiment of the present application, a DMSP / OLS data correction system based on a random forest algorithm is provided, the system comprising a preprocessing module, a clipping module, a saturation / blooming effect correction module, a multi-sensor same-year correction module, and a continuity correction module;

[0092] The preprocessing module is used to read the DMSP / OLS nighttime light image to be corrected and the DMSP / OLS nighttime light image for radiation calibration and perform preprocessing;

[0093] The clipping module is used to calculate the coefficient of variation of the DMSP / OLS night light image to be corrected, and select an area with a coefficient of variation less than a preset value as a reference area, and clip the DMSP / OLS night light image to be corrected according to the range of the reference area, convert the raster data to points, and finally calculate the local Moran index of the radiation-calibrated DMSP / OLS night light image, and clip it according to the range of the reference area, import the data into the data converted from the raster data, and export the imported and merged data;

[0094] The saturation / blooming effect correction module is used to correct the saturation effect and blooming effect of the night light image on the imported merged data based on the random forest regression algorithm, and replace the part of the DMSP / OLS night light image with a DN value>0 in the uncorrected DMSP / OLS night light image with the DMSP / OLS night light image corrected for the saturation effect and blooming effect;

[0095] The multi-sensor year correction module is used to perform multi-sensor year correction on the DMSP / OLS nighttime light image after saturation effect and blooming effect correction and replacement processing;

[0096] The continuity correction module is used to perform continuity correction on the DMSP / OLS night light image that has been calibrated by multiple sensors in the same year to obtain a continuity-corrected DMSP / OLS night light image, and to replace the portion of the uncorrected DMSP / OLS night light image with a DN value > 0 with the continuity-corrected DMSP / OLS night light image.

[0097] It should be noted that the system provided in the above embodiment is only illustrated by the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure is divided into different functional modules to complete all or part of the functions described above. The system is a DMSP / OLS data correction method based on the random forest algorithm applied to the above embodiment.

[0098] like Figure 6 As shown, in another embodiment of the present application, a storage medium is further provided, storing a program, and when the program is executed by a processor, the DMSP / OLS data correction method based on the random forest algorithm of the above embodiment is implemented, specifically:

[0099] Read the DMSP / OLS night light images to be corrected and the DMSP / OLS night light images for radiation calibration and perform preprocessing;

[0100] Calculate the coefficient of variation of the DMSP / OLS nighttime light image to be corrected, and select the area with a coefficient of variation less than a preset value as the reference area;

[0101] Crop the DMSP / OLS nighttime light image to be corrected according to the range of the reference area, and convert the raster data into points;

[0102] Calculating the local Moran index of the radiation-calibrated DMSP / OLS nighttime light image, clipping it according to the range of the reference area, importing the data into the data of the grid data conversion point, and exporting the imported and merged data;

[0103] Correcting the saturation effect and blooming effect of night light images on the imported merged data based on a random forest regression algorithm;

[0104] Replace the parts of the uncorrected DMSP / OLS night light images with DN values ​​> 0 with the DMSP / OLS night light images corrected for saturation and bloom effects;

[0105] Perform multi-sensor same-year correction on the DMSP / OLS nighttime light images after saturation and blooming effect correction and replacement processing;

[0106] Carry out continuity correction on the DMSP / OLS night light images corrected by multiple sensors in the same year to obtain the continuity-corrected DMSP / OLS night light images;

[0107] The parts of the uncorrected DMSP / OLS nighttime light images with DN values ​​> 0 are replaced by the continuity-corrected DMSP / OLS nighttime light images.

[0108] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0109] The above embodiments are preferred implementation modes of the present invention, but the implementation modes of the present invention are not limited to the above embodiments. Any other changes, modifications, substitutions, combinations, and simplifications that do not deviate from the spirit and principles of the present invention should be equivalent replacement methods and are included in the protection scope of the present invention.

Claims

1. A DMSP / OLS data correction method based on a random forest algorithm, characterized in that: The steps include: Read the DMSP / OLS night light images to be corrected and the DMSP / OLS night light images for radiation calibration and perform preprocessing; Calculate the coefficient of variation of the DMSP / OLS nighttime light image to be corrected, and select an area where the coefficient of variation is less than a preset value as a reference area; the calculation of the coefficient of variation of the DMSP / OLS nighttime light image to be corrected is specifically as follows: CV=(SD / MN)×100% Where SD is the standard deviation obtained by adding the pixel values ​​of all years, and MN is the mean value obtained by adding the DN values ​​of the pixels of all years; Crop the DMSP / OLS nighttime light image to be corrected according to the range of the reference area, and convert the raster data into points; Calculating the local Moran index of the radiation-calibrated DMSP / OLS nighttime light image, clipping it according to the range of the reference area, importing the data into the data of the grid data conversion point, and exporting the imported and merged data; The imported merged data is corrected for the saturation effect and blooming effect of the night light image based on the random forest regression algorithm, specifically: a correction model is constructed, and the final result is determined by voting or taking the average by combining multiple weak classifiers; Replace the parts of the uncorrected DMSP / OLS night light images with DN values ​​> 0 with the DMSP / OLS night light images corrected for saturation and bloom effects; Perform multi-sensor same-year correction on the DMSP / OLS nighttime light images after saturation and blooming effect correction and replacement processing; Carry out continuity correction on the DMSP / OLS night light images corrected by multiple sensors in the same year to obtain the continuity-corrected DMSP / OLS night light images; The parts of the uncorrected DMSP / OLS nighttime light images with DN values ​​> 0 are replaced by the continuity-corrected DMSP / OLS nighttime light images.

2. The DMSP / OLS data correction method based on the random forest algorithm according to claim 1, characterized in that: The pre-processing is specifically as follows: The boundary vector data of the study area are used to crop the DMSP / OLS night light images to be corrected and the DMSP / OLS night light images for radiation calibration. The spatial resolution of the images is resampled to 1000m, and the coordinate transformation is performed.

3. The DMSP / OLS data correction method based on random forest algorithm according to claim 1, characterized in that: The calculation results of the coefficient of variation are classified using the natural breakpoint method, and an area with a coefficient of variation less than a preset value is selected as a reference area.

4. The DMSP / OLS data correction method based on random forest algorithm according to claim 1, characterized in that: Calculating the local Moran index of the radiometrically calibrated DMSP / OLS nighttime light image to obtain the spatial distribution characteristics of the radiometrically calibrated DMSP / OLS nighttime light image; The reference area is cropped according to its range, the values ​​of the processed DMSP / OLS nighttime light image are extracted into the data of the raster data conversion point, and the obtained data is exported as a table to obtain the original data required for building the correction model.

5. The DMSP / OLS data correction method based on random forest algorithm according to claim 1, characterized in that: The multi-sensor calibration in the same year is specifically as follows: Where: DN (n,i) is the DN value of pixel i in the image of year n after correction, and It represents the DN value of pixel i in the images obtained by two different sensors before correction.

6. The DMSP / OLS data correction method based on random forest algorithm according to claim 1, characterized in that: The continuity correction is specifically as follows: Where DN (n-1,i) DN (n,i) and DN (n+1,i) is the DN value of the ith pixel of the stable NTL data in the n-1th year, the nth year, and the n+1th year.

7. The DMSP / OLS data correction system based on random forest algorithm is characterized by: A DMSP / OLS data correction method based on a random forest algorithm applied to any one of claims 1-6, comprising a preprocessing module, a clipping module, a saturation / blooming effect correction module, a multi-sensor same-year correction module, and a continuity correction module; The preprocessing module is used to read the DMSP / OLS nighttime light image to be corrected and the DMSP / OLS nighttime light image for radiation calibration and perform preprocessing; The clipping module is used to calculate the coefficient of variation of the DMSP / OLS night light image to be corrected, and select an area with a coefficient of variation less than a preset value as a reference area, and clip the DMSP / OLS night light image to be corrected according to the range of the reference area, convert the raster data to points, and finally calculate the local Moran index of the radiation-calibrated DMSP / OLS night light image, and clip it according to the range of the reference area, import the data into the data converted from the raster data, and export the imported and merged data; the calculation of the coefficient of variation of the DMSP / OLS night light image to be corrected is specifically as follows: CV=(SD / MN)×100% Where SD is the standard deviation obtained by adding the pixel values ​​of all years, and DN is the average value obtained by adding the DN values ​​of the pixels of all years; The saturation / blooming effect correction module is used to correct the saturation effect and blooming effect of the night light image on the imported and merged data based on the random forest regression algorithm, and replace the part of the DMSP / OLS night light image with a DN value>0 in the uncorrected DMSP / OLS night light image with the saturation effect and blooming effect corrected DMSP / OLS night light image; the correction of the saturation effect and blooming effect of the night light image on the imported and merged data based on the random forest regression algorithm is specifically as follows: constructing a correction model, combining multiple weak classifiers, and determining the final result by voting or taking the average; The multi-sensor year correction module is used to perform multi-sensor year correction on the DMSP / OLS nighttime light image after saturation effect and blooming effect correction and replacement processing; The continuity correction module is used to perform continuity correction on the DMSP / OLS night light image that has been calibrated by multiple sensors in the same year to obtain a continuity-corrected DMSP / OLS night light image, and to replace the portion of the uncorrected DMSP / OLS night light image with a DN value > 0 with the continuity-corrected DMSP / OLS night light image.

8. A storage medium storing a program, characterized in that: When the program is executed by a processor, the DMSP / OLS data correction method based on the random forest algorithm described in any one of claims 1 to 6 is implemented.