Urban road extraction method of super-resolution noctilucent image based on SRGAN
Through the super-resolution processing method based on SRGAN, the resolution of luminous images is improved, the problem of insufficient resolution of luminous remote sensing images is solved, efficient extraction and analysis of urban roads is achieved, and the texture quality and application value of the images are enhanced.
Patent Information
- Application Number
- CN202310238204.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing night-light remote sensing images have low resolution, which is difficult to meet the requirements of urban road extraction, and there is insufficient research on super-resolution reconstruction in the field of night-light remote sensing.
A super-resolution luminous image processing method based on SRGAN is adopted, including screening and preprocessing luminous images, building and training a generative adversarial network model, and using perceptual loss and regularization loss to improve image resolution through cross-training of generators and discriminators. And the urban road area is extracted through the binary iteration method.
It improves the texture quality of luminous images, enhances the accuracy and detail precision of road extraction, and expands the scope of use of luminous images in urban planning and applications.
Smart Images

Figure CN118657659A
Abstract
Description
Technical Field
[0001] The present invention relates to a method for processing night light image data and extracting urban roads, and in particular to a method for extracting urban roads from super-resolution night light images based on SRGAN. Background Art
[0002] Satellite remote sensing technology is widely used in many fields such as environmental monitoring, resource development, and global change research due to its unique advantages such as long duration, large coverage area, and strong real-time performance. The spatial resolution of remote sensing images is an important indicator for measuring satellite remote sensing capabilities. The higher the spatial resolution of remote sensing images, the higher the accuracy of details they can provide, the richer the information content they can provide, and the more accurate the identification and judgment of various targets in practical applications.
[0003] In existing related research, scholars have only discussed the super-resolution reconstruction of optical remote sensing images, synthetic aperture radar (SAR) images, and laser remote sensing images, but the research on super-resolution reconstruction in the field of night light remote sensing is still insufficient. Compared with other remote sensing satellite images, night light remote sensing images have a more intuitive and close connection with human activities, and have received widespread attention and application in the field of social sciences. The resolution of most night light remote sensing data is not very high, so improving the resolution of night light remote sensing can allow night light image data to be applied in more fields.
[0004] Roads are the most basic geographical elements. Road extraction has far-reaching significance for urban planning, military resource deployment and commercial applications. Medium-resolution remote sensing images cannot meet the requirements of road extraction. Most of the research focuses on extracting roads based on high-resolution optical remote sensing image data, making full use of the texture, shape, size and other information of the objects. Few studies focus on extracting roads based on night lights. Street lights and vehicle lights at night show the distribution information of roads, so it is also important to extract roads using high-resolution night light images. Summary of the invention
[0005] Purpose of the invention: In order to overcome the obstacle that the existing night light images still have low resolution and are difficult to meet the requirements for extracting urban roads, the present invention provides a method for extracting urban roads from super-resolution night light images based on SRGAN.
[0006] Technical solution: The urban road extraction method based on SRGAN super-resolution night light image of the present invention comprises the following steps:
[0007] (1) Screen and download night light images;
[0008] (2) Preprocessing and cropping the night light image data;
[0009] (3) Build the SRGAN network model and train the model;
[0010] (4) Input the preprocessed night light image into the model, output the corresponding high-resolution image and perform stitching;
[0011] (5) Extract urban road areas.
[0012] Optionally, the preprocessing described in step (2) includes reprojection, resampling, radiometric calibration, geo-registration, denoising and cropping.
[0013] Optionally, in step (3), a generative adversarial network is used to achieve reconstruction from low-resolution to high-resolution images, and further trained using cropped image data.
[0014] Optionally, in step (3), the first major step of SRGAN is to train the generator G. That is, the low-resolution image is input into the generator G, and after shallow feature extraction, local feature fusion, global feature fusion and upsampling, a pseudo high-resolution image is output, and the generated image is marked with a true label (1) and sent to the discriminator for discrimination.
[0015] Optionally, in step (3), the second main step of SRGAN is to train the discriminator D. That is, the training set data is labeled with a true label (1) and the data generated by the generator G is labeled with a false label (0), and then sent to the discriminator D for training, and the output is a scalar between 0 and 1.
[0016] Optionally, in step (3), the third main step of SRGAN is to extract features from the original high-resolution image and the generated high-resolution image using the first 13 layers of VGG19, and calculate the loss using the extracted features. The specific operation is as follows:
[0017]
[0018] in, represents content loss (i and j here refer to the jth convolutional layer before the i-th maximum pooling), represents adversarial loss, both of which belong to perceptual loss. represents the regularization loss.
[0019] Optionally, in step (3), the fourth main step of SRGAN is to update the network parameters of the generator G and the discriminator D according to the loss function and the Adam optimizer (using the gradient descent method). The specific operation is as follows:
[0020] For generator G:
[0021] For the decision device D:
[0022] Where m is the number of samples, D(x (i) ) represents the probability that the judger judges that the input sample is the true sample distribution, D(G(z i )) represents the probability that the sample input by the generator is the real sample distribution.
[0023] Optionally, in step (5), a binary iteration method is used to filter out blocky urban building areas and non-road areas such as surrounding dim lights according to the night light value range of the road area, thereby obtaining an extracted map of the urban road.
[0024] Beneficial effects: Compared with the prior art, the present invention has the following significant advantages: On the basis of making full use of night light remote sensing image data, the present invention adopts perceptual loss and regularization loss as the loss function of the network to improve the texture quality of the image. Now it is applied to road extraction, which is of great significance to the application of night light images and road extraction analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is the overall flow chart of the present invention;
[0026] Figure 2 This is the SRGAN structure diagram. DETAILED DESCRIPTION
[0027] The technical solution of the present invention is further described below in conjunction with examples.
[0028] like Figure 1-2 As shown, the urban road extraction method based on SRGAN super-resolution night light image of the present invention comprises the following steps:
[0029] (1) Screen and download the Jilin-1 night light remote sensing images from August 2021;
[0030] (2) Preprocessing the downloaded night light images, including reprojection, resampling, radiometric calibration, georeferencing, noise removal, and cropping after downsampling;
[0031] (3) Constructing the SRGAN network model includes four main steps: training the generator G to output pseudo high-resolution images; training the discriminator D to output a scalar between 0 and 1; extracting features from the original high-resolution image and the generated pseudo high-resolution image using the first 13 layers of VGG19, respectively, and calculating the loss of the extracted features; returning the loss function to the generator, and updating the network parameters of the generator G and the discriminator D in combination with the Adam optimizer, and then continuing training.
[0032] (4) dividing the cropped image obtained in step (2) into a training set and a test set at a ratio of 8:2, and inputting the training set into the network model in step (3) to train the model, and testing the model with the test set after the training is completed;
[0033] (5) The image of the study area is cropped to the size required by the model and input into the model. The output result of the SRGAN model in (4) is the night light image with improved resolution, and then the image with improved resolution is stitched;
[0034] (5) The binary iterative method is used on the high-resolution night light image to filter out the blocky urban building areas and non-road areas such as the surrounding weak lights according to the night light value range of the road area, and obtain the extracted map of the urban road.
[0035] The specific steps for preprocessing the "Jilin-1" night light image data in step (2) are as follows:
[0036] (2.1) Reproject and resample the image;
[0037] (2.2) Radiometric calibration and georeferencing of images;
[0038] (2.3) Assign 0 to the values of DN less than 0 in the night light image, and assign 0 to the points with abnormal DN values in the temporary light;
[0039] (2.4) Crop the image obtained in step (2.3) to a size of 900*900 pixels to obtain image data of the size required by the network model.
[0040] The specific steps for training the SRGAN model in step (3) are as follows:
[0041] (3.1) Experimental data preparation: The 100 images of 900*900 pixels obtained in step (2) are downsampled using bicubic interpolation to obtain a set of 100 images S450 of 450*450 pixels. The sliding window size is set to 50*50 pixels and 100*100 pixels. The images in S450 and S900 are cropped respectively to obtain a total of 8100 (LR, HR) image pairs. 80% of the image pairs are used as training data, and the rest are used as test data.
[0042] (3.2) Model training: Perceptual loss and regularization loss are used as loss functions, and the expression is as follows:
[0043]
[0044] in, represents content loss (i and j here refer to the jth convolutional layer before the i-th maximum pooling), represents adversarial loss, both of which belong to perceptual loss. Represents the regularization loss. Update the network parameters of the generator G and the discriminator D according to the loss function and the Adam optimizer (using the gradient descent method). The specific operations are as follows:
[0045] For generator G:
[0046] For the decision device D:
[0047] Where m is the number of samples, D(x (i) ) represents the probability that the judger judges that the input sample is the true sample distribution, D(G(z i )) represents the probability that the sample input by the generator is the real sample distribution.
[0048] (3.3) Model parameters: The initial learning rate is 0.0001, and the batch size is set to 16. For the generative network, the input low-resolution image passes through a 9*9 convolution layer, 16 residual blocks, a 3*3 convolution layer, and the last two sub-pixel convolution layers, and the output is a pseudo high-resolution image with a size four times the original size. For the discriminative network, convolution, batch normalization, and activation are repeatedly stacked, and a scalar from 0 to 1 is output. The generative network and the adversarial network are cross-trained (k=1), and the Adam optimizer parameter is set to β=0.9. The final output is a reconstructed high-resolution image.
Claims
1. A method for extracting urban roads from super-resolution night light images based on SRGAN, characterized in that: The steps include: (1) Screen and download night light images; (2) Preprocessing and cropping the night light image data; (3) Build the SRGAN network model and train the model; (4) Input the preprocessed night light image into the model, output the corresponding high-resolution image and perform stitching; (5) Extract urban road areas.
2. The method for extracting urban roads from super-resolution night light images based on SRGAN according to claim 1 is characterized by: The preprocessing described in step (2) includes reprojection, resampling, radiometric calibration, georeferencing, denoising and cropping.
3. The urban road extraction method based on super-resolution night light images of claim 1 is characterized by: In step (3), a generative adversarial network is used to achieve reconstruction from low-resolution to high-resolution images, and further trained using cropped image data.
4. The urban road extraction method based on super-resolution night light images of claim 1 is characterized by: In step (3), the first major step of SRGAN is to train the generator G, that is, to input the low-resolution image into the generator G, and after shallow feature extraction, local feature fusion, global feature fusion and upsampling, output a pseudo high-resolution image, and mark the generated image with the true label (1) and send it to the discriminator for discrimination.
5. The urban road extraction method based on SRGAN super-resolution night light image according to claim 1 is characterized by: In step (3), the second main step of SRGAN is to train the discriminator D, that is, to label the training set data with true labels (1) and the data generated by the generator G with false labels (0), and then send them to the discriminator D for training, and the output is a scalar between 0 and 1.
6. The method for extracting urban roads from super-resolution night light images based on SRGAN according to claim 1 is characterized by: In step (3), the third main step of SRGAN is to extract features from the original high-resolution image and the generated high-resolution image using the first 13 layers of VGG19, and calculate the loss of the extracted features. The specific operation is as follows: in, represents content loss (i and j here refer to the jth convolutional layer before the i-th maximum pooling), represents adversarial loss, both of which belong to perceptual loss. represents the regularization loss.
7. The urban road extraction method based on super-resolution night light images of SRGAN according to claim 1 is characterized by: In step (3), the fourth main step of SRGAN is to update the network parameters of the generator G and the discriminator D according to the loss function and the Adam optimizer (using the gradient descent method). The specific operation is as follows: For generator G: For the decision device D: Where m is the number of samples, D(x (i) ) represents the probability that the judger judges that the input sample is the true sample distribution, D(G(z i )) represents the probability that the sample input by the generator is the real sample distribution.
8. The urban road extraction method based on SRCNN super-resolution night light image according to claim 1 is characterized by: In step (5), a binary iterative method is used to filter out blocky urban building areas and non-road areas such as surrounding weak lights according to the night light value range of the road area, thereby obtaining an extracted map of the urban road.
Citation Information
Cited By
Urban connected network extraction method and device and city connection strength calculation method and device
CN119559507A
A method and device for extracting urban connectivity network and calculating urban connectivity strength
CN119559507B
Night light data downscaling method and device and electronic equipment
CN119904756A
Remote sensing image road extraction method, system, medium and equipment
CN120495910A
