Topographic feature image enhancement and standardization correction method for uav base map
By extracting candidate regions of topographic map features from UAV base maps and performing category interpretation and enhancement suppression judgment, the system ensures that topographic map features maintain category consistency after enhancement. This solves the problems of category drift and standardization distortion of topographic map features in UAV base maps during the enhancement process, and improves the stability and reliability of the processing.
Patent Information
- Application Number
- CN202610826638.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-09
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2046-06-09
AI Technical Summary
During the enhancement process of topographic map elements in UAV base maps, issues such as inconsistent color depth, unstable line width, broken edges, stuck symbols, or local blurring lead to category drift, incorrect connectivity, or distortion of standardization results, which existing technologies have not been able to effectively resolve.
Extract candidate regions for topographic map features, perform feature category interpretation, determine category preservation parameters, perform enhancement suppression judgment before image enhancement, preserve the image state corresponding to the initial category, and perform category consistency verification and correction to ensure that topographic map features maintain category consistency after enhancement.
It improves the stability and reliability of UAV base map topographic feature processing, avoids category drift and distortion of standardization results, and enhances the accuracy and standardization of topographic map features.
Smart Images

Figure CN122656946B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of UAV base map image processing technology, specifically to a method for enhancing and standardizing topographic map element images for UAV base maps. Background Technology
[0002] In existing technologies, UAV base maps are typically formed by overlaying UAV aerial photographs, surveying results maps, terrain grayscale maps, or multi-source geographic information. During base map production, interpretation, and subsequent mapping, it is necessary to identify, enhance, and correct water systems, roads, contour lines, landform boundaries, annotations, and other linear, area, or symbolic topographic map elements. Because the UAV acquisition environment is significantly affected by flight altitude, lighting, attitude, ground feature occlusion, texture complexity, and stitching errors, the same type of topographic map element may exhibit variations in color depth, unstable line width, broken edges, stuck symbols, or local blurring in different areas. Directly using a uniform enhancement model or fixed threshold processing can easily highlight the boundaries of elements that should be enhanced, but it may also cause visual feature convergence between different categories of elements, leading to category drift, incorrect connectivity, or distortion of standardization results.
[0003] For example, Chinese patent publication CN116993643A discloses an AI-based method for correcting UAV photogrammetric images. This method acquires terrain grayscale images, calculates illumination parameters and gradient values, constructs a sliding window to obtain feature points, and performs smoothing image processing and feature point matching based on Gaussian kernel size and pixel weights to improve the accuracy of UAV photogrammetric image correction and fusion. This type of solution focuses on the accuracy of UAV photogrammetric images in terms of illumination changes, feature matching, and fusion correction, and can improve matching problems in image stitching or fusion processes. However, its processing objects are mainly correction relationships at the overall image or feature point level, and it has not yet established a pre-enhancement judgment, post-enhancement verification, and standardized output mechanism with category preservation constraints for topographic map elements already having cartographic representation significance in the UAV base map.
[0004] For example, Chinese patent publication CN117593477A discloses a method for creating 3D geological maps by integrating UAV 3D models and geological mapping. This method uses UAVs to acquire surface information and create topographic maps, combining UAV remote sensing interpretation, observation point data, and 3D models to form an electronic geological map containing multiple layers of ecological and geological elements. This type of solution demonstrates the significant application value of UAV base maps and topographic maps in geological, resource, and environmental scenarios. However, its focus is on constructing or filling multi-layered geological maps using UAV results, and it does not address the problem of element category confusion caused by the destruction of color range, line width range, morphological features, and adjacency relationships of different topographic map elements during image enhancement. Therefore, existing technologies still require a method that can identify risks before enhancement, maintain categories during enhancement, and perform consistency verification and standardized correction after enhancement to improve the stability and reliability of UAV base map topographic map element processing and map generation. Summary of the Invention
[0005] The purpose of this invention is to provide a method for enhancing and standardizing topographic map features for UAV base maps, thereby addressing some of the drawbacks and shortcomings mentioned in the background art.
[0006] The present invention adopts the following technical solution to solve the above-mentioned technical problems: The UAV base map image is acquired, candidate regions of topographic map elements are extracted, the candidate regions are analyzed for element categories to obtain initial element categories, and category preservation parameters are determined based on the initial element categories. The category preservation parameters include color range, line width range, morphological features and adjacency relationship. Before image enhancement, enhancement suppression is determined for the candidate regions based on the category preservation parameters. Image enhancement corresponding to the initial feature category is performed on the candidate regions that are not suppressed, and the image state before enhancement is retained for the suppressed candidate regions. Perform category consistency verification on topographic map features that have undergone image enhancement or retain the image state before enhancement. If the verification fails, perform category preservation correction. If the verification passes again after correction, perform standardization correction according to the initial feature category and output the corrected UAV base map topographic map features.
[0007] Furthermore, in the enhancement suppression judgment, the candidate region is first subjected to pre-enhancement processing without being written to the output result, and the pre-enhanced candidate region is compared with the initial feature category and the category maintenance parameters of other feature categories respectively; when the number of satisfying items in the color range, line width range, morphological features and adjacency relationship corresponding to the initial feature category decreases, and the number of satisfying items corresponding to other feature categories increases, the image enhancement of the candidate region is suppressed.
[0008] Furthermore, the category consistency verification is performed by reading the adjacent regions of the enhanced topographic map features; when there is no supporting region in the adjacent region that is the same as the initial feature category and satisfies the adjacency relationship, or when the enhanced topographic map features are connected to regions of non-initial feature categories, the category consistency verification is determined to fail.
[0009] Furthermore, the category-maintaining correction performs individual corrections based on items that fail the category consistency verification; when the color value exceeds the color range, the color is corrected; when the line width value exceeds the line width range, the line width is corrected; when a connection is formed with a non-initial feature category area, the connection is broken, and the corrected topographic map feature is subjected to category consistency verification again; if the verification fails again, the topographic map feature is prohibited from entering the standardization correction.
[0010] Furthermore, the pre-enhancement process performs at least two trials on the candidate region according to the enhancement intensity from low to high; when any trial reduces the number of satisfying items of the initial feature category and increases the number of satisfying items of other feature categories, and the difference in the number of satisfying items under the later enhancement intensity is greater than the difference in the number of satisfying items under the previous enhancement intensity, the candidate region is determined as an enhancement-sensitive region and image enhancement is suppressed.
[0011] Furthermore, when comparing the pre-enhanced candidate region with the category-preserving parameters of other feature categories, other feature categories that meet at least one of the preset proximity conditions in color range, line width range, or morphological features of the initial feature category are selected for comparison, and the results of the comparison are used to determine whether the candidate region has a risk of category drift.
[0012] Furthermore, for the candidate regions of the suppressed image enhancement, the initial feature category and the category preservation parameter before enhancement are retained, and the initial feature category and the category preservation parameter are used as the verification benchmark in the subsequent category consistency verification to prevent the candidate regions of the suppressed image enhancement from being identified or corrected to other feature categories in the output results.
[0013] Furthermore, the individual correction is determined according to the proportion of the changes in the amount of items that fail the category consistency verification before and after enhancement; when the change in any of the items of color deviation, line width deviation and incorrect connectivity accounts for the highest proportion of the sum of the color deviation, line width deviation and incorrect connectivity, the corresponding correction is performed on the item, while the enhancement results of other items remain unchanged.
[0014] Furthermore, when performing category consistency verification on the corrected topographic map elements again, if the topographic map elements fail the verification twice consecutively due to the same item, the candidate area corresponding to the item will be marked as a non-standardized area, and the non-standardized area will be prohibited from entering the standardization correction.
[0015] Furthermore, the non-standardized area is used as a correction isolation area; when performing category-preserving correction or standardization correction on adjacent topographic map elements, it is prohibited to use the color, line width, or connectivity within the non-standardized area as the basis for correction, and it is prohibited for the standardization results of adjacent topographic map elements to cover the non-standardized area.
[0016] This invention acquires UAV base map images and extracts candidate regions for topographic map features. First, it determines the feature categories of these candidate regions to obtain initial feature categories. Based on these initial feature categories, it determines category-preserving parameters, including color range, line width range, morphological features, and adjacency relationships. Thus, before image enhancement, preservation constraints corresponding to feature categories can be established. This ensures that subsequent enhancement processing no longer solely aims at improving visual sharpness or contrast, but also considers the category attributes, cartographic representation characteristics, and relationships between adjacent features of the topographic map features, reducing the probability of category drift caused by enhancement processing from the outset.
[0017] This invention performs enhancement suppression judgment on candidate regions based on category preservation parameters before image enhancement. For candidate regions that are not suppressed, image enhancement corresponding to the initial feature category is performed. For suppressed candidate regions, the image state before enhancement is preserved. This avoids forcibly enhancing sensitive areas, which can cause color out-of-bounds errors, abnormal line widths, shape distortions, or incorrect connectivity. After image enhancement or preserving the original state, this invention further performs category consistency verification. If the verification fails, category preservation correction is performed. Only when the verification passes again after correction is the result standardized according to the initial feature category and output. This ensures that the topographic map features in the UAV base map maintain category consistency during enhancement, correction, and standardization output, improving the accuracy, standardization, and reliability of base map feature representation in subsequent applications. Attached Figure Description
[0018] Figure 1 This is a flowchart of the topographic map element image enhancement and standardization correction process of the present invention.
[0019] Figure 2 This is a comparison chart of the number of pre-enhanced satisfaction items in Embodiment 1 of the present invention.
[0020] Figure 3 This is a graph showing the change in category drift risk value in Embodiment 1 of the present invention.
[0021] Figure 4 This is an enhanced sensitive region suppression and retention diagram in Embodiment 1 of the present invention.
[0022] Figure 5 This is the adjacent region category consistency verification diagram in Embodiment 2 of the present invention.
[0023] Figure 6 This is a diagram showing the determination of the percentage of individual changes in Embodiment 2 of the present invention.
[0024] Figure 7 This is a diagram illustrating the continuous verification failure and isolation process in Embodiment 2 of the present invention. Detailed Implementation
[0025] As attached Figure 1 As shown, in one specific embodiment, a UAV base map image is first acquired, and region recognition processing is performed on the UAV base map image to extract candidate regions for topographic map elements from the image. Region recognition processing may include color normalization, noise filtering, edge extraction, color connectivity segmentation, shape closure, and hole filling of the UAV base map image, forming candidate regions for topographic map elements based on connected regions, linear regions, boundary regions, or symbolic regions. Candidate regions for topographic map elements can be roads, water systems, contour lines, landform symbols, vegetation boundaries, or other graphic regions used to express topographic information. After extracting the candidate regions for topographic map elements, element category determination is performed on the candidate regions to obtain the corresponding initial element category. During element category determination, the primary color, line width, direction continuity, closure state, texture structure, and connection state with adjacent regions of the candidate region can be compared with a preset topographic map element sample library or topographic map symbol parameter library; when a candidate region is close to multiple element categories simultaneously, its original color, original line width, and adjacency relationship are prioritized to determine the initial element category. Based on the initial feature category, category preservation parameters corresponding to that category are determined. These parameters include color range, line width range, morphological features, and adjacency relationships. The color range defines the color representation of this type of topographic feature in the UAV base map; the line width range defines the width of linear or boundary-shaped features; the morphological features define the shape, texture, or structural characteristics of this type of topographic feature; and the adjacency relationships define the spatial connectivity or proximity between this type of topographic feature and surrounding areas. These category preservation parameters can be pre-established based on topographic map symbols, manually labeled samples, or topographic features whose categories have been confirmed in historical UAV base maps, and serve as a unified judgment benchmark during this image enhancement and standardization correction process.
[0026] Before image enhancement, enhancement suppression is assessed for candidate regions based on category preservation parameters. This suppression determines whether image enhancement will cause the candidate region to deviate from the category preservation parameters corresponding to the initial feature category. For unsuppressed candidate regions, image enhancement processing corresponding to the initial feature category is performed, enhancing the region in terms of color, line width, edge sharpness, or morphological clarity. Image enhancement processing can include color contrast enhancement, edge sharpening, linear feature reinforcement, broken boundary repair, texture sharpening, or background interference reduction. Different initial feature categories employ enhancement methods matched to their category preservation parameters. For linear features such as roads, waterways, or contour lines, enhancement prioritizes maintaining line width and direction continuity; for areal or symbolic features such as vegetation boundaries or landform symbols, enhancement prioritizes maintaining boundary closure, symbol outline, and texture structure. For suppressed candidate regions, image enhancement processing not actually written into the output is not performed; instead, the image state before enhancement is preserved to avoid changes in topographic map feature categories or confusion with other feature categories caused by image enhancement.
[0027] After the above processing is completed, a category consistency check is performed on the topographic map features that have undergone image enhancement and those that retain their original image state. The category consistency check confirms whether the processed topographic map features still conform to the category preservation parameters corresponding to the initial feature category. If the category consistency check fails, category preservation correction is performed on the topographic map feature to restore its color, line width, morphological features, or adjacency relationships to a state consistent with the initial feature category. After the category preservation correction is completed, a category consistency check is performed again. If the second check passes, the topographic map features are standardized and corrected according to the initial feature category, and the corrected UAV base map topographic map features are output.
[0028] Based on the above specific implementation, enhancement suppression judgment can be achieved through pre-enhancement processing. Specifically, before performing actual image enhancement on the candidate region, a pre-enhancement process is first performed on the candidate region without writing it into the output result. The pre-enhancement process is performed in a temporary image copy or cache layer, and is only used to determine the impact of the enhancement operation on the stability of the candidate region category. Its processing result is not saved as the final image result. The pre-enhancement process can select one or more processing methods according to the initial feature category of the candidate region, such as color enhancement, line width enhancement, edge enhancement, break patching, or texture enhancement, and extract the color, line width, shape, and adjacency relationship status after processing. After the pre-enhancement process is completed, the pre-enhancement candidate region is compared with the category preservation parameters of the initial feature category and the category preservation parameters of other feature categories. During the comparison, it can be determined whether the pre-enhancement candidate region satisfies the color range, line width range, shape features, and adjacency relationship. When the number of satisfied items corresponding to the initial feature category decreases and the number of satisfied items corresponding to other feature categories increases, it indicates that the pre-enhancement process may cause the candidate region to shift from the initial feature category to other feature categories. At this time, image enhancement of the candidate region is suppressed.
[0029] During pre-enhancement, candidate regions can be tested multiple times with enhancement intensities ranging from low to high. Enhancement intensities can be pre-defined as weak, medium, and strong. Weak enhancement improves local sharpness while minimizing changes in color and linewidth; medium enhancement improves the discernibility of edges and linear structures; and strong enhancement further highlights candidate regions when background interference is significant. After each test, the number of satisfied items for the pre-enhanced candidate region relative to the initial feature category and relative to other feature categories is calculated. If any test reduces the number of satisfied items for the initial feature category while increasing the number of satisfied items for other feature categories, the difference in the number of satisfied items under different enhancement intensities is compared. If the difference in the number of satisfied items under the previous enhancement intensity is less than the difference under the next enhancement intensity, it indicates an increasing trend of category shift after the enhancement intensity increases. In this case, the candidate region is identified as an enhancement-sensitive region, and image enhancement of this region is suppressed to avoid damaging its original category attributes during enhancement.
[0030] When comparing the pre-enhanced candidate region with the category-preserving parameters of other feature categories, other feature categories can be screened first. During screening, other feature categories that have preset similarity conditions with the initial feature category in color range, line width range, or morphological characteristics are selected. Preset similarity conditions may include similar color representation, similar line width level, similar contour shape, similar texture direction, or frequent occurrence adjacent to the initial feature category on the topographic map. Categories that are significantly different from the initial feature category in color, line width, and morphology can be excluded from the comparison. This method avoids including obviously irrelevant feature categories in the comparison, thereby improving the targeting and processing efficiency of category drift judgment. After the comparison is completed, the presence of category drift risk in the candidate region is determined based on the changes in the satisfied conditions of the candidate region relative to the initial feature category and other feature categories.
[0031] For candidate regions whose image enhancement is suppressed, the initial feature category and category preservation parameters before enhancement are retained, along with the original image state of the candidate region. Subsequent category consistency verification uses these initial feature categories and category preservation parameters as the verification benchmark. If the candidate region needs to participate in the overall output during subsequent normalization correction, only formatted recording or boundary preservation based on its original image state is allowed; replacement of its color, line width, or connectivity based on enhancement results from other categories is not permitted. This processing method prevents candidate regions whose image enhancement is suppressed from being identified as other feature categories in subsequent output results, and also prevents them from being incorrectly corrected to other feature categories during normalization correction, thereby maintaining the stability of topographic map feature category representation in UAV base maps.
[0032] Based on the above specific implementation method, category consistency verification can be achieved by reading the adjacent regions of the enhanced topographic map features. Specifically, after image enhancement is completed in the candidate region, the boundary of the enhanced topographic map features is determined, and adjacent regions are read outward from the boundary. For linear features, adjacent regions can be read along both sides, endpoints, and turning points of the linear features; for area features or symbolic features, adjacent regions can be read along the outer contour, internal hole boundaries, and positions that contact other features. Adjacent regions are used to characterize the spatial relationship between the enhanced topographic map features and surrounding topographic map features. After reading the adjacent regions, the topographic map feature categories in the adjacent regions are compared with the initial feature categories, and it is determined whether there are supporting regions in the adjacent regions that are the same as the initial feature categories and satisfy the adjacency relationship. Supporting regions can be continuous line segments of the same type as the enhanced topographic map features, boundary segments of the same type, symbol components of the same type, or regions of the same type that maintain a specified adjacency relationship with them. Supporting regions are used to prove that the enhanced topographic map features are still in a spatial connection state or adjacent state consistent with the initial feature categories.
[0033] When no supporting region of the same category as the initial feature and satisfying the adjacency relationship exists in the adjacent region, it indicates that the enhanced topographic map feature has deviated from the category-preserving parameters corresponding to the initial feature category in terms of spatial adjacency. Alternatively, when the enhanced topographic map feature forms a connection with a region of a non-initial feature category, it indicates that image enhancement may cause incorrect connections between topographic map features of different categories, resulting in confusion regarding the boundaries, connectivity, or category representation of the enhanced topographic map feature. Incorrect connections may include enhanced linear features crossing the original interval and connecting to other categories of linear features, enhanced boundary features covering the edges of adjacent areal features, or symbolic features merging with dissimilar textures in the background after enhancement. In any of the above situations, the category consistency verification is deemed unsuccessful, and the topographic map feature is transferred to the subsequent category-preserving correction process.
[0034] Based on the above specific implementation methods, when the category consistency verification fails, category preservation correction is performed. Category preservation correction is performed on a case-by-case basis for items that fail the verification. Specifically, when the color value of a topographic map element exceeds the color range corresponding to the initial element category, the color of the topographic map element is corrected to bring the color value back to the corresponding color range. Color correction can be achieved by replacing the deviating color with the target color or a close color corresponding to the initial element category, and is preferably performed within the candidate area without changing the color of adjacent non-similar areas. When the line width value exceeds the line width range corresponding to the initial element category, the line width of the topographic map element is corrected to bring the line width value back to the corresponding line width range. Line width correction can be achieved through edge recycling, line segment thinning, line segment reinforcement, or breakpoint smoothing, while maintaining the direction and endpoint position of linear elements. When the enhanced topographic map element forms a connection with a non-initial element category area, the connection point is disconnected to keep the enhanced topographic map element separate from the non-initial element category area. Disconnection can restore the original base map state or background state at the erroneous connection point and retain the main area of the initial element category. After completing the above individual corrections, the corrected topographic map features are subjected to a class consistency check again. If the second check fails, the topographic map feature is prohibited from entering the standardization correction process to prevent topographic map features with unstable class status from being included in the final standardization result.
[0035] When performing individual corrections, the correction target can be determined based on the proportion of items that failed the category consistency verification in the changes before and after enhancement. Specifically, color deviation, line width deviation, and incorrect connectivity are calculated separately, and the proportion of each item's change to the sum of color deviation, line width deviation, and incorrect connectivity is calculated. When the proportion of one item is the highest, the corresponding correction is performed on that item, while the enhancement results of other items remain unchanged. If multiple items among color deviation, line width deviation, and incorrect connectivity significantly affect category consistency simultaneously, they are corrected item by item in the order of incorrect connectivity, line width deviation, and color deviation; among them, incorrect connectivity is treated first to avoid persistent confusion between topographic map features of different categories. In this way, the items with the most significant impact on category consistency can be corrected first, reducing interference with enhancement results that already meet the category preservation parameters, making category preservation correction more focused and stable.
[0036] When performing category consistency verification on corrected topographic map features again, if a feature fails verification twice consecutively for the same item, the candidate region corresponding to that item is marked as a non-standardized region, and non-standardized regions are prohibited from entering the standardization correction process. A non-standardized region indicates that, under the current category-preserving parameters, it is difficult to restore the region to a stable category state through corrections based on color, line width, or connectivity. When marking a non-standardized region, its original image content, initial feature category, failed verification item, and boundary location can be retained, and it can be recorded as an isolated region in the final output. By setting non-standardized regions, error propagation caused by repeated corrections can be avoided, and regions with uncertain categories can be prevented from affecting the overall standardization results of UAV base map topographic features.
[0037] After isolating non-standardized regions as correction isolation areas, when performing category-preserving or standardization corrections on adjacent topographic map features, the color, line width, or connectivity within the non-standardized regions are not used as the basis for correction. Simultaneously, the standardization results of adjacent topographic map features must not cover the non-standardized regions. For roads, waterways, contour lines, vegetation boundaries, or landform symbols adjacent to non-standardized regions, standardization correction can be performed solely based on stable pixels, stable line segments, or stable boundaries outside the non-standardized regions, maintaining the original boundaries at the points of contact with the non-standardized regions. This isolation process prevents anomalous colors, line widths, or connectivity states in non-standardized regions from being transmitted to adjacent topographic map features, and also prevents adjacent topographic map features from occupying or replacing non-standardized regions during the standardization process, thereby improving the stability and boundary reliability of the topographic feature enhancement and standardization correction results in UAV base maps.
[0038] Example 1: In one specific implementation, Company A acquires a UAV base map image with a resolution of 0.08 m / pixel. The system performs color normalization, noise filtering, edge extraction, and connected component segmentation on the UAV base map image to extract candidate regions for topographic map features. Candidate regions may include graphic areas used to express topographic information, such as roads, waterways, contour lines, and vegetation boundaries. For a specific extracted linear candidate region, the system reads its color, line width, continuity, and adjacency status, determining that the average line width of this candidate region before enhancement is 4.6 pixels, with RGB mean values of 186, 184, and 178, exhibiting a light gray continuous linear distribution, and not connected to any waterway region.
[0039] When classifying the candidate region, its primary color, line width, morphological features, and adjacency relationships are compared with those of road, water system, contour line, and vegetation boundary categories in a pre-defined topographic map feature sample library. Since the candidate region meets the characteristics of a road category—light gray linear representation, line width of 4 to 6 pixels, continuous linear shape, and non-connectedness to water system areas—its initial feature category is determined to be road. Based on the initial feature category, the category preservation parameters corresponding to the road category are determined. These parameters include color range, line width range, morphological features, and adjacency relationships.
[0040] In this embodiment, the road category preservation parameters include a light gray or gray color range, a line width of 4 to 6 pixels, a continuous linear shape, and an adjacency relationship that does not form a connection with water system areas. The water system category preservation parameters include a blue color range, a continuous linear or planar shape, and an adjacency relationship with ditch or water surface areas. Since both roads and water systems may appear as continuous linear areas in the UAV base map, if a road area appears bluish, has an increased line width, or is close to a water system area after enhancement, category drift may occur. Therefore, a pre-enhancement process is performed on the candidate road area before actual image enhancement, without writing it into the output result.
[0041] Pre-enhancement processing is performed on a temporary image copy and is not saved as the final image result. The system performs two trials on the road candidate region with enhancement intensities ranging from low to high: weak enhancement and strong enhancement. Weak enhancement is used to improve the sharpness of road edges while preserving the original line width as much as possible, while strong enhancement is used to further improve the contrast between the candidate region and the background when background texture interference is significant. After each pre-enhancement trial, the system extracts the pre-enhancement color, line width, morphological features, and adjacency relationships, and determines whether they meet the road category preservation parameters and water system category preservation parameters, respectively. Figure 2 By displaying the road satisfaction items, water system satisfaction items, and the difference between satisfaction items in parallel at three stages—before enhancement, weak enhancement, and strong enhancement—it can intuitively reflect the trend that as the enhancement intensity increases, the road category satisfaction items decrease while the water system category satisfaction items increase.
[0042] To characterize the impact of pre-enhancement on the stability of candidate region categories, the difference in the change of satisfaction terms is used for judgment, and its calculation formula is as follows:
[0043] Wherein, represents the difference in the number of satisfying items of other feature categories relative to the initial feature category under the s-th pre-enhancement trial; represents the number of items in the candidate region that satisfy the category preservation parameters of other feature categories after the s-th pre-enhancement; represents the number of items in the candidate region that satisfy the category preservation parameters of the initial feature category after the s-th pre-enhancement; s represents the pre-enhancement trial number. Satisfying items include color range, line width range, morphological features, and adjacency relationships. When increases, it indicates that the degree to which the candidate region satisfies other feature categories is higher than the degree to which it satisfies the initial feature category, and the trend of the candidate region shifting towards other feature categories is strengthened.
[0044] To further assess the class drift risk of the pre-enhancement trial relative to the pre-enhancement state, a class drift risk value is used for judgment, calculated as follows:
[0045] in, This represents the class drift risk value of the s-th pre-enhancement trial relative to the state before enhancement; This represents the difference in the satisfaction terms under the s-th pre-enhancement trial calculation; This represents the difference in satisfaction terms between candidate regions before enhancement. When the value is positive and increases with the enhancement intensity, it indicates that the pre-enhancement process makes the candidate region closer to other feature categories relative to the pre-enhancement state, which poses a risk of causing the candidate region to deviate from the initial feature category. Figure 3 Further and The changes in the three pre-enhancement stages are displayed in relation to each other, among which The increase from 0 to 2 and then to 4 indicates that the risk of class drift continues to rise as the intensity of enhancement increases.
[0046] In this embodiment, the number of items in the candidate area that satisfy the road category preservation parameter before enhancement. The number of items that meet the water system category maintenance parameters is 4. If the value is 1, then the difference in the change of the satisfied terms before enhancement is:
[0047] After weak enhancement, the edges of the candidate region become clearer, but the local color shows a cooler tone due to the background water texture, and some boundaries become closer to adjacent low-lying areas. At this point, the number of projects in the candidate region that satisfy the road category preservation parameters is... The number of items that meet the water system category maintenance parameters is 3. If the value is 2, then the difference in the change of the satisfied terms and the risk value of category drift after weak enhancement are respectively:
[0048]
[0049] After strong enhancement, the linewidth of the candidate region increased from 4.6 pixels to 6.4 pixels, the local color became more bluish, and it showed near-connectivity with the water system area at a certain boundary. At this point, the number of items in the candidate region that met the road category preservation parameters increased. The number of items that meet the water system category maintenance parameters is 2. If the value is 3, then the difference in the change of the satisfied items and the category drift risk value after strong enhancement are respectively:
[0050]
[0051] As derived above, the difference in the number of satisfied parameters before enhancement is -3, the category drift risk after weak enhancement is 2, and the category drift risk after strong enhancement is 4. Furthermore, the category drift risk continues to increase with increasing enhancement intensity. This indicates that while pre-enhancement improves the visual contrast of the candidate region, it simultaneously reduces the number of satisfied parameters for the road category and increases the number of satisfied parameters for the water system category, posing a risk of shifting from the road category to the water system category.
[0052] When comparing the pre-enhanced candidate areas with other feature categories, the system does not include all topographic map feature categories in the comparison. Instead, it selects other feature categories that meet at least one preset similarity condition with the road category in terms of color range, line width range, or morphological characteristics. Since the water system category may also appear as a continuous linear distribution in some UAV base maps and has similar morphological characteristics to the road category, it is included as another feature category in the comparison. Landform symbol categories that are significantly different from the road category in color, line width, and morphology are not considered as the primary comparison objects for this category drift risk assessment.
[0053] Based on the comparison results above, the system identifies the candidate road region as an enhancement-sensitive region and suppresses the actual image enhancement of the candidate region. After suppression, the candidate region is not included in the pre-enhancement results obtained from weak or strong enhancement; instead, the image state before enhancement is retained, along with its initial feature category and road category preservation parameters. Figure 4By comparing the pre-enhancement state, the strong pre-enhancement state, and the output retention state, it is shown that when the road candidate area shows increased line width and sensitive area markings after strong pre-enhancement, the system does not use the pre-enhancement result as the output. Instead, it restores the output result to the pre-enhancement road state and uses the original category retention parameter as the subsequent verification benchmark.
[0054] In subsequent category consistency verification, the system still uses the road category determined before the enhancement of the candidate region as the verification benchmark, and uses the color range, line width range, continuous linear shape, and non-connected adjacency relationship with water system areas in the road category preservation parameters as the judgment criteria. Even if the candidate region has not undergone actual image enhancement, it still participates in the category consistency verification in the subsequent standardization correction process to confirm that it has not been identified or corrected as water system, vegetation boundary, or other non-initial feature categories in the output results.
[0055] In this embodiment, pre-enhancement processing is used to assess the risk of category drift in candidate regions before image enhancement. If it is found that increasing the enhancement intensity leads to a decrease in the number of initial feature category satisfaction items and an increase in the number of other feature category satisfaction items, enhancement suppression is applied to the candidate region, while preserving its pre-enhancement image state, initial feature category, and category preservation parameters. This improves the recognizability of UAV base map features while preventing category confusion for features with similar shapes, such as roads and waterways, due to enhancement processing, thereby enhancing the category stability of UAV base map feature image enhancement and standardization correction.
[0056] Example 2: In one specific implementation, Company A performs category consistency verification on the topographic features of the UAV base map after image enhancement or while retaining the original image state. The resolution of the UAV base map image is 0.10m / pixel. The system reads a linear candidate region from the image. Before enhancement, this candidate region is distributed as a continuous brown line with a line width of 2.1 pixels. After feature category identification, its initial feature category is determined to be contour lines.
[0057] Based on the initial feature category, contour line category preservation parameters are determined. These parameters include the range of brown line color, line width of 1.5 to 2.5 pixels, continuous line shape, and no connected adjacency with vegetation boundaries. After image enhancement of the candidate region, the line width increased to 3.4 pixels, local line edge thickened, and suspected connected regions formed near vegetation boundaries. Therefore, category consistency verification of the enhanced topographic map features is necessary.
[0058] During the category consistency verification process, the system first determines the enhanced contour line boundary and reads adjacent regions with a width of 6 pixels along this boundary. After reading the adjacent regions, the system identifies road, water system, vegetation boundaries, and other contour line regions within the adjacent regions and determines whether there are supporting regions within the adjacent regions that have the same category as the initial feature and satisfy the adjacency relationship. The supporting region can be a continuous line segment of the same category as the contour line or a region of the same category that maintains an adjacency relationship with it, used to prove that the enhanced contour line is still in a spatial state consistent with the initial feature category. Figure 5 The verification status of adjacent regions read along the perimeter of the enhanced contour lines is shown. The dashed box defines the adjacent reading range, the same type of support region is used to maintain the contour line category judgment, and the abnormal connection position between the contour line and the vegetation boundary is read as the verification failure position.
[0059] Upon reading the adjacent regions, it was found that the enhanced contour region formed an erroneous connected segment of 14 pixels in length with the vegetation boundary region at one edge location, and this connected segment did not belong to the adjacency relationship allowed by the contour category preservation parameters. Because the enhanced contour line formed a connection with a region of a non-initial feature category, the system determined that the category consistency verification of the contour region failed and transferred it to the category preservation correction process.
[0060] Category-based corrections are performed on items that fail verification. When the color value of a topographic map feature exceeds the range of brown lines corresponding to the contour line category, the color of the feature is corrected to restore it to the range allowed by the contour line category. When the line width exceeds the range of line widths corresponding to the contour line category, the feature is corrected to restore it to the range of 1.5 to 2.5 pixels. When the enhanced contour line area is connected to areas other than the initial feature category, such as vegetation boundaries, the connection is broken to separate the enhanced contour line area from the vegetation boundary area.
[0061] Before performing individual corrections, the system determines the priority correction items based on the proportions of color deviation, linewidth deviation, and fault connectivity in the changes before and after enhancement. The formula for calculating the proportion of individual changes is:
[0062] in, Indicates the first The percentage of changes in projects that failed verification; Indicates the first The change in each item; Indicates the amount of color deviation; Indicates the deviation in line width; Indicates an erroneous connected component; Represents any of the following: color, line weight, or fault connectivity. When a certain item corresponds to... At its highest value, this indicates that the item has the greatest impact on class consistency. The system will prioritize performing class preservation correction on this item and keep other enhancement results that already meet the class preservation parameters unchanged.
[0063] In this embodiment, the enhanced contour region has a color deviation of 8, a line width deviation of 18, and an incorrect connectivity of 42. The incorrect connectivity is calculated by adjusting the length and location of incorrect connected segments to reflect the impact on category consistency. Therefore, the sum of the color deviation, line width deviation, and incorrect connectivity is 68. Thus, the color deviation percentage is:
[0064] The line width deviation percentage is:
[0065] The percentage of erroneous connections is:
[0066] As can be seen from the above calculations, erroneous connectivity accounts for the highest proportion, so the system first disconnects erroneous connectivity segments. Figure 6 The changes and proportions of the three types of failed verification items—color deviation, line width deviation, and incorrect connectivity—are displayed accordingly. Among them, the change in incorrect connectivity is 42, accounting for 0.618%, which is significantly higher than that of color deviation and line width deviation. Therefore, it can be used as a basis for determining priority correction items. Specifically, at the location where there is a 14-pixel incorrect connectivity between the contour line area and the vegetation boundary area, the system restores the original background state of the connected segment or the boundary state of the adjacent non-contour line area. This ensures that the enhanced contour line body is separated from the vegetation boundary, while retaining the enhancement results in the contour line body that already meet the requirements of color range and continuous linear morphology.
[0067] After the disconnection process is complete, the system performs a category consistency check on the corrected contour line area again. If the check passes again, the contour line area enters the standardization correction according to the initial feature category, unifying its color, line width, and line shape to the standardized expression state corresponding to the contour line category. If the check fails again, the topographic map feature is prohibited from directly entering the standardization correction to avoid contour line areas with unstable category states being written into the final standardization result.
[0068] For projects that fail verification consecutively, the system records the number of consecutive verification failures for the same project. The recording formula for the number of non-standardized judgments is as follows:
[0069] in, Indicates the first The number of times a project fails the category consistency verification consecutively; This represents any of the following: color, line width, or fault connectivity. This formula is used to record the number of consecutive verification failures for the same item. When the value reaches 2, it indicates that the region corresponding to the project is difficult to recover to a stable category state under the current category maintenance parameters, and the system marks the candidate region corresponding to the project as a non-standardized region.
[0070] In this embodiment, after the first disconnection process, if the contour line area still fails verification due to incorrect connectivity items, the corresponding incorrect connectivity items are recorded. Set the value to 1; after re-performing the disconnection process and boundary restoration, if the region still fails verification due to erroneous connectivity items, record the corresponding erroneous connectivity item. The value is 2. At this point, the system marks the candidate region corresponding to the erroneous connectivity as a non-standardized region and prohibits the non-standardized region from entering the standardization correction. Figure 7 The corresponding diagram illustrates the process of an erroneous connectivity item failing the first correction, failing the second correction, and subsequently being marked as an isolated area. This demonstrates that when the same erroneous connectivity item fails two consecutive verifications, that area will no longer be treated as a standardized correction object.
[0071] After designating non-standardized areas as correction isolation zones, the system will not use the color, line width, or connectivity within these non-standardized areas as the basis for correction when performing category-preserving or standardization corrections on adjacent roads, waterways, contour lines, or vegetation boundaries. Simultaneously, the standardization results of adjacent topographic map features must not cover these non-standardized areas to prevent adjacent vegetation boundaries or contour lines from occupying these areas during the standardization process, or from transferring abnormal connectivity states within these areas to other topographic map features. Figure 7 The isolation boundary in the code is used to limit the scope of non-standardized regions, so that adjacent features can bypass the region and maintain their respective category representation during subsequent correction.
[0072] In this embodiment, when the category consistency verification fails, priority correction items are determined based on color deviation, line width deviation, and erroneous connectivity. When the same item fails the verification twice consecutively, the corresponding candidate area is marked as a non-standardized area, and then the non-standardized area is treated as a correction isolation area. This reduces the risk of erroneous connectivity diffusion between adjacent topographic map elements such as contour lines and vegetation boundaries, and improves the category stability and boundary reliability of the UAV base map topographic map element enhancement and standardization correction results.
Claims
1. A method for enhancing and standardizing topographic map feature images for UAV base maps, characterized in that: include: The UAV base map image is acquired, candidate regions of topographic map elements are extracted, the candidate regions are analyzed for element categories to obtain initial element categories, and category preservation parameters are determined based on the initial element categories. The category preservation parameters include color range, line width range, morphological features and adjacency relationship. Before image enhancement, enhancement suppression is performed on the candidate regions based on the category preservation parameters. The enhancement suppression judgment includes: The candidate region is first subjected to pre-enhancement processing without being written to the output result. The pre-enhancement candidate region is then compared with the initial feature category and other feature categories by maintaining their respective parameters. When the number of satisfying items in the color range, line width range, morphological features and adjacency relationship corresponding to the initial feature category decreases, and the number of satisfying items corresponding to the other feature categories increases, the image enhancement of the candidate region is suppressed. The pre-enhancement process performs at least two trials on the candidate region according to the enhancement intensity from low to high. When any trial reduces the number of satisfying items of the initial feature category and increases the number of satisfying items of other feature categories, and the difference in the number of satisfying items under the later enhancement intensity is greater than the difference in the number of satisfying items under the previous enhancement intensity, the candidate region is determined as an enhancement-sensitive region and image enhancement is suppressed. For the unsuppressed candidate regions, image enhancement corresponding to the initial feature category is performed; for the suppressed candidate regions, the image state before enhancement is preserved. Perform category consistency verification on topographic map features that have undergone image enhancement or retain the image state before enhancement. If the verification fails, perform category preservation correction. If the verification passes again after correction, perform standardization correction according to the initial feature category and output the corrected UAV base map topographic map features.
2. The method according to claim 1, characterized in that: The category consistency verification is performed by reading the adjacent regions of the enhanced topographic map features; if the adjacent regions do not have supporting regions that are the same as the initial feature category and satisfy the adjacency relationship, or if the enhanced topographic map features are connected to regions of non-initial feature categories, the category consistency verification is determined to fail.
3. The method according to claim 1, characterized in that: The category-based correction performs individual corrections on items that fail the category consistency verification; when the color value exceeds the color range, the color is corrected; when the line width value exceeds the line width range, the line width is corrected; when a connection is formed with a non-initial feature category area, the connection is broken, and the corrected topographic map feature is subjected to category consistency verification again; if the verification fails again, the topographic map feature is prohibited from entering the standardization correction.
4. The method according to claim 1, characterized in that: When comparing the pre-enhanced candidate region with other feature categories using category-preserving parameters, other feature categories that meet at least one of the preset proximity conditions in color range, line width range, or morphological features with the initial feature category are selected for comparison, and the results of the comparison are used to determine whether the candidate region has a risk of category drift.
5. The method according to claim 1, characterized in that: For the candidate regions of the suppressed image enhancement, the initial feature category and the category preservation parameter before enhancement are retained, and the initial feature category and the category preservation parameter are used as the verification benchmark in the subsequent category consistency verification to prevent the candidate regions of the suppressed image enhancement from being identified or corrected to other feature categories in the output results.
6. The method according to claim 3, characterized in that: The individual correction is determined according to the proportion of the changes before and after enhancement of the items that fail the category consistency verification; when the change of any item among color deviation, line width deviation and incorrect connectivity is the highest proportion of the sum of the color deviation, line width deviation and incorrect connectivity, the corresponding correction is performed on the item, while the enhancement results of other items remain unchanged.
7. The method according to claim 3, characterized in that: When performing category consistency verification on the corrected topographic map elements again, if the topographic map elements fail the verification twice consecutively due to the same item, the candidate area corresponding to the item will be marked as a non-standardized area, and the non-standardized area will be prohibited from entering the standardization correction.
8. The method according to claim 7, characterized in that: The non-standardized area shall be used as a correction isolation area; when performing category-preserving correction or standardization correction on adjacent topographic map elements, it is prohibited to use the color, line width or connectivity within the non-standardized area as the basis for correction, and the standardization results of adjacent topographic map elements shall not cover the non-standardized area.
Citation Information
Patent Citations
Unmanned aerial vehicle photogrammetry image correction method based on artificial intelligence
CN116993643A
Three-dimensional geological map filling and drawing method fusing unmanned aerial vehicle three-dimensional model and geological map filling and drawing
CN117593477A
Apparatus and method for modeling building
CA2704656A1
Automatic accounting method and system for plot area surveyed and mapped by unmanned aerial vehicle
CN122156287A
