A method for building texture enhancement based on oblique photogrammetry

By using deep learning's generative adversarial network for texture super-resolution processing in oblique photogrammetry, combined with a stepwise weighting strategy for tilt correction and edge detection loss, the problems of texture blur and missing details are solved, and efficient and automated building textures are achieved. Enhancement improves the visual effects and application value of the 3D model.

CN118470175BActive Publication Date: 2024-10-18HARBIN INSTITUTE OF TECHNOLOGY (SHENZHEN) (INSTITUTE OF SCIENCE AND TECHNOLOGY INNOVATION HARBIN INSTITUTE OF TECHNOLOGY SHENZHEN)
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410915437.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-10-18
Estimated Expiration
2044-07-09

AI Technical Summary

Technical Problem

Existing technologies suffer from blurred textures and missing details when processing building textures from oblique photogrammetry, and the existing methods require high equipment and computing resources, making it difficult to achieve efficient automated processing in resource-constrained environments, especially edge details and images. Poor quality.

Method used

A deep learning-based generative adversarial network (GAN) is used for super-resolution processing, combined with tilt correction and progressively weighted L1 loss and edge detection loss training strategies to optimize the generator parameters to improve the clarity and detail of the texture.

Benefits of technology

It significantly improves the texture quality of the 3D building model, reduces manual intervention, improves processing efficiency and effects, enables efficient automated processing in resource-constrained environments, and enhances the visual effects and application value of the 3D model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470175B_ABST
    Figure CN118470175B_ABST
Patent Text Reader

Abstract

The present invention proposes a building texture enhancement method for oblique photogrammetry to achieve automated texture quality improvement. First, the oblique image data is corrected and a training data set is prepared. Secondly, the L1 loss and edge detection loss are used to train a generative adversarial network, and a stepwise weighted training strategy is implemented to first optimize the overall image quality and then enhance the edge details. Then, the trained network is used to perform super-resolution enhancement on the corrected three-dimensional model texture. Finally, the enhanced texture is applied to the model to significantly improve the texture clarity and details, and enhance the visual effect and application value. This method effectively improves the performance of the super-resolution network, automates the processing of complex urban scene textures, reduces costs, and is suitable for urban planning and design.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to computer vision processing technology, and in particular to a building texture enhancement method oriented to oblique photogrammetry. Background Art

[0002] Oblique photography refers to the process of converting two-dimensional images into three-dimensional models in the real world. This technology has been widely used in urban planning, architectural design, environmental monitoring and other fields. However, due to the limitations of satellite observation angles, high-angle shooting, occlusion of urban buildings and lighting effects, the reconstructed three-dimensional models often have blurred textures and missing details, especially in the texture of building facades. In addition, due to the performance of the photographic equipment, the acquired images themselves may be blurred, further resulting in a decrease in the quality of the reconstructed texture. At present, the main method for oblique photography texture enhancement is to manually adjust the texture, but this method is time-consuming and costly. Therefore, it is particularly necessary to develop a low-cost texture enhancement method for urban scene three-dimensional models. Image super-resolution is a classic and very important technology in computer vision and image processing. It refers to the process of restoring high-resolution (HR) images from low-resolution (LR) images. In order to improve the authenticity of the reconstructed three-dimensional objects, image super-resolution technology can be applied to their texture maps to enhance the texture of the three-dimensional objects. Such technology can not only significantly improve the texture clarity and details of the three-dimensional model, but also improve the practical application effect of urban three-dimensional models in planning, design and monitoring while maintaining low computational overhead.

[0003] Research on three-dimensional surface texture quality enhancement includes methods based on three-dimensional structures and two-dimensional surfaces, which directly enhance the three-dimensional model. Voxel-based methods have high requirements on equipment and computing resources; point cloud-based methods are difficult to obtain high-quality results due to irregularities; although grid-based methods are commonly used, they can only optimize the mathematical properties of the grid and are difficult to significantly enhance the three-dimensional surface effect. The two-dimensional texture-based method indirectly improves the surface texture quality of the three-dimensional model by enhancing the two-dimensional texture image extracted from the three-dimensional model. This strategy can avoid high computational complexity. Research on two-dimensional texture enhancement methods includes using algorithmic enhancement techniques, such as super-resolution and image enhancement algorithms, to enhance texture details and clarity; and using texture mapping techniques, such as normal mapping and bump mapping, to increase surface details and three-dimensionality.

[0004] In actual engineering applications, texture processing is often done manually using modeling software, mainly using multi-source data to replace the original texture or manually editing the texture. Although replacing the original low-resolution texture with high-resolution images from different sources can improve the effect, this requires additional data sources, and matching and fusion between different data sources may be complicated. Manually editing textures requires extracting texture images into image processing software (such as Photoshop) for manual adjustment and enhancement. This process is tedious and time-consuming, and requires professional image processing skills.

[0005] Compared with traditional manual methods, using deep learning models to perform super-resolution processing on extracted texture images has obvious advantages. With the successful application of convolutional neural networks (CNN) in computer vision tasks, super-resolution methods based on deep learning are superior to traditional methods in terms of accuracy and efficiency. In addition, the perceptual loss of generative adversarial networks (GANs) can maximize the perceptual quality of super-resolution images and generate textures close to human vision. This method greatly improves texture quality, reduces manual intervention, and achieves a higher degree of automated processing.

[0006] At present, the three-dimensional surface texture enhancement method based on three-dimensional structure has high requirements on equipment and computing resources, has poor effect on texture surface enhancement, and is difficult to apply in engineering practice. Three-dimensional surface texture enhancement based on two-dimensional surface can avoid high computational complexity. Multi-source data replacement requires additional high-resolution data sources, which makes data matching and fusion complex. Manual texture editing is time-consuming and requires professional image processing skills. Deep learning super-resolution algorithm can be used for automated processing, but it may still be limited by algorithm accuracy and processing time.

[0007] Existing methods have certain limitations in practical engineering applications. They have high requirements for computing resources and equipment, making them difficult to apply in resource-constrained environments, and it is difficult to achieve efficient and automated processing while ensuring processing accuracy. Existing super-resolution generative adversarial networks have the following deficiencies when processing oblique images of building surfaces: Existing methods do not specifically handle oblique images, resulting in poor detail and edge preservation of the images generated in practical engineering applications. Traditional loss functions cannot fully preserve the edge details of images, especially when processing complex textures and building surfaces.

[0008] It should be noted that the information disclosed in the above background technology section is only used for understanding the background of the present application, and therefore may include information that does not constitute prior art known to ordinary technicians in the field. Summary of the invention

[0009] The main purpose of the present invention is to overcome the defects of the above-mentioned background technology and provide a building texture enhancement method for oblique photogrammetry.

[0010] To achieve the above object, the present invention adopts the following technical solutions:

[0011] A building texture enhancement method for oblique photogrammetry comprises the following steps:

[0012] S1, performing tilt correction on the building texture image dataset of tilt photography to make it non-tilted, and using the corrected texture image as a training dataset;

[0013] S2. Using the training data set to train a generator in a generative adversarial network, wherein L1 loss and edge detection loss are used simultaneously to optimize network parameters; when initializing the training, the weight of the edge detection loss is set to be lower than that of the L1 loss, and the weight of the edge detection loss is gradually increased in each training cycle while the weight of the L1 loss is correspondingly reduced;

[0014] S3, using the trained generative adversarial network to perform super-resolution enhancement on the texture image of the tilt-corrected 3D building model;

[0015] S4. Replace the original texture of the building 3D model with the super-resolution enhanced texture to obtain a texture-enhanced 3D building model.

[0016] Further:

[0017] Step S1 includes the following sub-steps:

[0018] S11, performing oblique photogrammetry 3D reconstruction according to the oblique image and the position and posture information to obtain a 3D model of the building, and extracting the corresponding rotation matrix and translation vector;

[0019] S12, using the building three-dimensional model and the aerial triangulation data to perform model monomer processing, and extracting the texture image of the building monomer model therefrom;

[0020] S13. Using the rotation matrix and the translation vector, perform affine transformation on the oblique image through the warpAffine function to achieve image correction, and standardize the corrected image.

[0021] Normalizing the rectified image includes cropping the rectified image to a size of 400×400 pixels.

[0022] Step S1 also includes: amplifying the image obtained by image standardization at different times to expand the training data set.

[0023] In step S2, the following stepwise weighting strategy is adopted:

[0024] The combined total loss of the generator combining L1 loss and edge detection loss is the weighted sum of the two;

[0025] and L1 loss and edge detection loss with the number of steps The weight of the change;

[0026] Set initial weights for L1 loss and edge detection loss and , and make:

[0027]

[0028] In each training cycle, the weight of edge detection loss is gradually increased, and the weight of L1 loss is correspondingly reduced, so that the sum of weights is always 1. The weights of L1 loss and edge detection loss are dynamically adjusted with the number of training steps as follows:

[0029]

[0030] in, is the total number of training steps, is the current number of training steps, The maximum value of the edge detection loss is set.

[0031] The edge detection loss is a Sobel edge detection loss based on a Sobel operator.

[0032] In step S2, the Sobel edge detection loss is calculated by the following formula:

[0033]

[0034] ,

[0035] in and They are the horizontal and vertical filters of the Sobel operator, is the sum of the Sobel edge losses at all pixels, I represents the original input image, x and y represent the horizontal and vertical directions respectively, SR represents the super-resolution image, HR represents the high-resolution target image, G represents the corresponding gradient.

[0036] The generative adversarial network is a generative adversarial network based on the Real-ESRGAN super-resolution algorithm.

[0037] A computer-readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the building texture enhancement method for oblique photogrammetry.

[0038] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the building texture enhancement method for oblique photogrammetry is implemented.

[0039] The present invention has the following beneficial effects:

[0040] The present invention proposes a building texture enhancement method for oblique photogrammetry, which can significantly improve the texture quality of urban scene building three-dimensional models. In view of the texture blur and detail loss caused by the limitations of observation angle, high-angle shooting, building occlusion and lighting influence in the prior art, the present invention adopts image super-resolution technology and deep learning-based generative adversarial network GAN to achieve automatic enhancement of building texture. In the method of the present invention, the improvement of tilt correction and edge detection loss is combined, especially by designing a training strategy of gradually weighted L1 loss and edge detection loss, so that the super-resolution generative adversarial network focuses on the overall image quality in the early stage of training, and then gradually increases the emphasis on edge features, effectively improving the performance of the super-resolution generative adversarial network, thereby achieving the retention and quality improvement of edge details in the final generated super-resolution image, improving the clarity and detail of the building surface texture, and enhancing the visual effect and application value of the three-dimensional model. The present invention provides an easy-to-operate automated solution for building texture enhancement by oblique photogrammetry, which enables efficient and automated processing of complex urban scene textures even in resource-constrained environments, significantly reduces manual intervention, improves processing efficiency and effects, and reduces costs, providing strong technical support for applications in urban planning, architectural design, and environmental monitoring.

[0041] Other beneficial effects of the embodiments of the present invention will be further described below. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 This is a flowchart of building texture enhancement for oblique photogrammetry according to an embodiment of the present invention.

[0043] Figure 2 4 is a flowchart of tilt image correction according to an embodiment of the present invention.

[0044] Figure 3 It is a step-by-step weighted training strategy for the generator joint loss function of an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.

[0046] See also Figure 1The embodiment of the present invention provides a method for enhancing building texture by oblique photogrammetry, comprising the following steps:

[0047] S1, performing tilt correction on the building texture image dataset of tilt photography to make it non-tilted, and using the corrected texture image as a training dataset;

[0048] S2. Using the training data set to train a generator in a generative adversarial network, wherein L1 loss and edge detection loss (such as but not limited to Sobel edge detection loss based on the Sobel operator) are simultaneously used to optimize network parameters; when initializing the training, the weight of the edge detection loss is set to be lower than that of the L1 loss, and the weight of the edge detection loss is gradually increased and the weight of the L1 loss is correspondingly reduced in each training cycle, so that the network mainly focuses on the L1 loss in the early stage of training, and then gradually introduces more edge features;

[0049] S3, using the trained generative adversarial network to perform super-resolution enhancement on the texture image of the tilt-corrected 3D building model;

[0050] S4. Replace the original texture of the building 3D model with the super-resolution enhanced texture to obtain a texture-enhanced 3D building model.

[0051] In the building texture enhancement method for oblique photogrammetry of the embodiment of the present invention, a deep learning-based generative adversarial network GAN is used to perform super-resolution texture enhancement on the building texture. When training the super-resolution generative adversarial network, a training strategy of gradually weighted L1 loss and edge detection loss is introduced. The weights of L1 loss and edge detection loss are dynamically adjusted with the number of training steps, so that the super-resolution generative adversarial network focuses on the overall image quality in the early stage of training, and then gradually increases the emphasis on edge features and strengthens edge details, effectively improving the performance of the super-resolution generative adversarial network, thereby achieving the retention of edge details and the improvement of overall quality in the super-resolution image finally generated by the network, improving the clarity and detail of the building surface texture, and enhancing the visual effect and application value of the three-dimensional model.

[0052] The specific embodiments of the present invention are further described below.

[0053] A method for building texture enhancement based on oblique photogrammetry, the process is as follows Figure 1 As shown. In the embodiment, an improved method of generating adversarial super-resolution combining tilt correction and edge detection loss and a step-by-step weighted training strategy are designed. The specific implementation process is as follows:

[0054] 1. Tilt correction

[0055] First, the oblique photography dataset is tilted and corrected to make it non-tilted, and the corrected image is used as the training dataset for the super-resolution network. This can eliminate the influence of tilt on the network and better extract the building features of the task scene, which can be used to guide the subsequent oblique photography building facade texture enhancement. The specific steps are as follows:

[0056] First, obtain the image pose information and extract the image pose information from the 3D reconstruction result, including the rotation matrix and translation vectors .

[0057]

[0058]

[0059] Using an affine transformation matrix Perform geometric transformation on the image to correct the tilt of the image. The formula is as follows:

[0060]

[0061] Use OpenCV's warpAffine function to transform the affine transformation matrix Applied to oblique images, the corrected images are obtained.

[0062] To further apply the rectified images to training, image standardization is required. The rectified images are cropped to 400×400 pixels and the images are enlarged by ×1, ×2, and ×3 times to expand the super-resolution training dataset. The data is divided into 70% for training, 15% for validation, and 15% for testing.

[0063] 2. Edge Detection Loss

[0064] In order to preserve the details and edge information of the image, the edge detection loss is introduced into the total loss function of the generator in combination with the Sobel edge detection result, which can ensure that the generated image performs better in detail preservation.

[0065] First calculate the Sobel gradient: and They are the horizontal and vertical filters of the Sobel operator respectively.

[0066]

[0067] I represents the original input image, x and y represent the horizontal and vertical directions respectively. G Represents the gradient.

[0068] The Sobel edge detection loss is defined as

[0069]

[0070] It is the sum of the Sobel edge losses at all pixels. SR represents super-resolution image, and HR represents high-resolution target image. The edge loss function guides the generator to generate a super-resolution image with better edge features by comparing the strength of the real edge image and the generated image at the edge.

[0071] 3. Gradual weighted training strategy

[0072] In order to solve the problem that the introduction of edge detection loss will increase the complexity of the model, the training strategy is improved. A step-by-step weighting strategy is adopted to gradually increase the weight of the Sobel edge detection loss in each training cycle to ensure that the model focuses on the L1 loss in the early stage of training, and then gradually introduces more edge features. The specific method of the step-by-step weighting strategy is as follows:

[0073] The total joint loss of the generator combining L1 loss and edge detection loss is:

[0074]

[0075] in, and Is the number of steps Change the weights. Set the initial weights for L1 loss and Sobel edge detection loss and , and make:

[0076]

[0077] In each training cycle, the weight of the Sobel edge detection loss is gradually increased, and the weight of the L1 loss is correspondingly reduced to ensure that the sum of the weights is always 1. The L1 loss and Sobel edge detection loss are as follows:

[0078]

[0079]

[0080] is the total number of training steps, is the current number of training steps. The maximum value of the Sobel edge detection loss is set.

[0081] The method flow of some embodiments includes the following steps:

[0082] Step 1: Input oblique image and POS information, perform oblique photogrammetry 3D reconstruction, obtain 3D reconstruction model and rotation matrix and translation vectors ;

[0083] Step 2: Import the generated 3D model and aerial triangulation file into DP-Modeler software, monomerize the model, and extract the texture image of the monomerized model;

[0084] Step 3: Using oblique images and rotation matrices and translation vectors , use OpenCV's warpAffine function to apply the affine transformation matrix to the image to obtain the rectified image, and then standardize the image and crop it to 400×400 pixels;

[0085] Step 4: Use the Sobel edge detection loss function to jointly optimize the generator loss function;

[0086] Step 5: Use the progressive weighted training strategy to set initial weights for L1 loss and Sobel edge detection loss and ;

[0087] Step 6: Set the weights of L1 loss and Sobel edge detection loss as the number of steps changes and , and the maximum value of Sobel edge detection loss , train the generator, and train the entire generative adversarial network to obtain new weights.

[0088] Step 7: Use the trained network to input the corrected texture image, and use the trained new weights to obtain a super-resolution texture image. Since texture mapping is independent of the image size, the generated super-resolution texture can directly replace the original texture in step 2 and map it to the surface of the building model to obtain a texture-enhanced 3D model.

[0089] In summary, the present invention provides an easy-to-operate automated solution for building texture enhancement by oblique photogrammetry. When training a super-resolution generative adversarial network, a training strategy of gradually weighted L1 loss and edge detection loss is introduced. The weights of L1 loss and edge detection loss are dynamically adjusted with the number of training steps, so that the super-resolution generative adversarial network focuses on the overall image quality in the early stage of training, and then gradually increases the emphasis on edge features and strengthens edge details, thereby achieving the retention of edge details and the improvement of overall quality in the super-resolution image finally generated by the network, improving the clarity and detail of the building surface texture, and enhancing the visual effect and application value of the three-dimensional model.

[0090] The present invention enables efficient and automatic processing of complex urban scene textures even in resource-constrained environments, significantly reduces human intervention, improves processing efficiency and effects, and reduces costs, providing strong technical support for applications in urban planning, architectural design, and environmental monitoring.

[0091] An embodiment of the present invention further provides a storage medium for storing a computer program, which at least performs the above method when executed.

[0092] An embodiment of the present invention further provides a control device, comprising a processor and a storage medium for storing a computer program; wherein the processor is configured to execute at least the method described above when executing the computer program.

[0093] An embodiment of the present invention further provides a processor, wherein the processor executes a computer program and at least executes the method described above.

[0094] The storage medium can be implemented by any type of non-volatile storage device, or a combination thereof. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory (Flash Memory), a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The storage medium described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

[0095] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0096] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0097] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0098] A person skilled in the art can understand that: all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, etc. Various media that can store program codes.

[0099] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0100] The methods disclosed in the several method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.

[0101] The features disclosed in several product embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new product embodiments.

[0102] The features disclosed in several method or device embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0103] The above contents are further detailed descriptions of the present invention in combination with specific preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art of the present invention, several equivalent substitutions or obvious variations can be made without departing from the concept of the present invention, and the performance or use is the same, which should be regarded as belonging to the protection scope of the present invention.

Claims

1. A building texture enhancement method for oblique photogrammetry to achieve automatic enhancement of building texture, characterized in that: The steps include: S1, performing tilt correction on the building texture image dataset of tilt photography to make it non-tilted, and using the corrected texture image as a training dataset; S2. Using the training data set to train a generator in a generative adversarial network for super-resolution enhancement of texture images, wherein L1 loss and edge detection loss are used simultaneously to optimize network parameters; when initializing the training, the weight of the edge detection loss is set to be lower than that of the L1 loss, and the weight of the edge detection loss is gradually increased in each training cycle while the weight of the L1 loss is correspondingly reduced; S3, using the trained generative adversarial network to perform super-resolution enhancement on the texture image of the tilt-corrected 3D building model; S4. Replace the original texture of the building 3D model with the super-resolution enhanced texture to obtain a texture-enhanced 3D building model.

2. The building texture enhancement method for oblique photogrammetry according to claim 1, characterized in that: Step S1 includes the following sub-steps: S11, performing oblique photogrammetry 3D reconstruction according to the oblique image and the position and posture information to obtain a 3D model of the building, and extracting the corresponding rotation matrix and translation vector; S12, using the building three-dimensional model and the aerial triangulation data to perform model monomer processing, and extracting the texture image of the building monomer model therefrom; S13. Using the rotation matrix and the translation vector, perform affine transformation on the oblique image through the warpAffine function to achieve image correction, and standardize the corrected image.

3. The building texture enhancement method for oblique photogrammetry according to claim 2, characterized in that: Normalizing the rectified image includes cropping the rectified image to a size of 400×400 pixels.

4. The method for building texture enhancement for oblique photogrammetry according to any one of claims 1 to 3, characterized in that: Step S1 also includes: amplifying the image obtained by image standardization at different times to expand the training data set.

5. The method for building texture enhancement for oblique photogrammetry according to any one of claims 1 to 3, characterized in that: In step S2, the following stepwise weighting strategy is adopted during training: The combined total loss of the generator combining L1 loss and edge detection loss is the weighted sum of the two; and L1 loss and edge detection loss with the number of steps The weight of the change; for Loss and edge detection loss set initial weights and , and make: ; In each training cycle, the weight of edge detection loss is gradually increased, and the weight of L1 loss is correspondingly reduced, so that the sum of weights is always 1. The weights of L1 loss and edge detection loss are dynamically adjusted with the number of training steps as follows: ; in, is the total number of training steps, is the current number of training steps, The maximum value of the edge detection loss is set.

6. The method for building texture enhancement for oblique photogrammetry according to any one of claims 1 to 3, characterized in that: The edge detection loss is a Sobel edge detection loss based on a Sobel operator.

7. The building texture enhancement method for oblique photogrammetry according to claim 6, characterized in that: In step S2, the Sobel edge detection loss is calculated by the following formula: ; in and They are the horizontal and vertical filters of the Sobel operator, is the sum of the Sobel edge losses at all pixels, I represents the original input image, x and y represent the horizontal and vertical directions respectively, SR represents the super-resolution image, HR represents the high-resolution target image, G represents the corresponding gradient.

8. The method for building texture enhancement for oblique photogrammetry according to any one of claims 1 to 3, characterized in that: The generative adversarial network is a generative adversarial network based on the Real-ESRGAN super-resolution algorithm.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for building texture enhancement for oblique photogrammetry according to any one of claims 1 to 8 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method for building texture enhancement for oblique photogrammetry according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Group building earthquake damage extraction method and system based on oblique photography

    CN110796152A

  • Training system and method for improving perception capability of super-division GAN network

    CN117853322A