Underground building attribute information determination method, electronic device and storage medium
Patent Information
- Application Number
- CN202510725910.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-03
- Publication Date
- 2026-10-13
- Estimated Expiration
- 2045-06-03
AI Technical Summary
[0004]本申请的目的在于,针对上述现有技术中的不足,提供一种地下建构筑物属性信息确定方法、电子设备及存储介质,以解决现有技术中进行外业测量成本较高,并且无法保障技术人员的安全和测量效率的问题
Smart Images

Figure CN120634926B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of image processing technology, and more specifically, to a method for determining the attribute information of underground structures, an electronic device, and a storage medium. Background Technology
[0002] Currently, underground space is a new direction for urban construction. By investigating underground structures, we can obtain information on their attributes, which provides data support for the development and utilization of underground space.
[0003] Current methods for investigating underground structures primarily rely on full field measurements, requiring technicians to use specialized surveying equipment to conduct on-site measurements and obtain information about the structure's attributes. This not only increases surveying costs but also makes it difficult to guarantee the safety of technicians and maintain surveying efficiency due to factors such as weather and site conditions. Summary of the Invention
[0004] The purpose of this application is to address the shortcomings of the prior art by providing a method, electronic device, and storage medium for determining the attribute information of underground structures, thereby solving the problems of high cost of field measurement and inability to guarantee the safety and measurement efficiency of technicians in the prior art.
[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:
[0006] In a first aspect, embodiments of this application provide a method for determining the attribute information of underground structures, the method comprising:
[0007] The process involves acquiring images of the target underground structure and performing image correction on these images to obtain a target underground structure image, which includes a site plan, a pile foundation plan, a basement plan, and a topographic map.
[0008] The target underground building image is vectorized to obtain the underground building element image corresponding to the basement plan and the underground building element image corresponding to the pile foundation plan, wherein each building element in the underground building element image is at the corresponding element level.
[0009] Based on the site plan and topographic map, the images of underground building elements corresponding to the basement plan and the images of underground building elements corresponding to the pile foundation plan are located to determine the position of each building element in the target underground building;
[0010] Based on the location of each building element and the element level corresponding to each building element, the attribute information of the target underground building structure is determined.
[0011] As one possible implementation, the step of image correction of the underground structure image to obtain the target underground structure image includes:
[0012] Based on a pre-defined coordinate system and the dimension annotation information in the underground building images, the reference coordinates of each building element in the underground building images are determined.
[0013] The underground building image is corrected based on the pre-set correction control points and the reference coordinates of each building element in the underground building image to obtain the target underground building image.
[0014] As one possible implementation, the step of image correction of the underground structure image based on pre-set correction control points and the reference coordinates of each building element in the underground structure image to obtain the target underground structure image includes:
[0015] Extract the feature point coordinates of each architectural element in the image of the underground structure;
[0016] Based on the coordinates of the correction control points and the reference coordinates of each building element, coordinate matching is performed on the feature point coordinates of each building element to obtain the matching result;
[0017] Based on the matching result, an affine transformation is performed on the image of the underground structure to obtain the image of the target underground structure.
[0018] As one possible implementation, the step of performing an affine transformation on the underground structure image based on the matching result to obtain the target underground structure image includes:
[0019] The affine transformation parameters are determined based on the matching results. The affine transformation parameters include translation parameters, rotation parameters, and scaling parameters.
[0020] The image of the underground structure is corrected according to the affine transformation parameters to obtain the target underground structure image.
[0021] As one possible implementation, the vectorization processing of the target underground structure image to obtain the underground structure element image corresponding to the basement plan and the underground structure element image corresponding to the pile foundation plan includes:
[0022] Extract raster data from the image of the target underground structure, and convert the raster data into vector data;
[0023] The vector data is subjected to vectorization tracking processing to extract vectorized elements corresponding to each building element from the vector data;
[0024] Based on the vectorized elements and element levels corresponding to each building element, the underground building structure element images corresponding to the basement plan and the underground building structure element images corresponding to the pile foundation plan are obtained.
[0025] As one possible implementation, the step of locating the underground building element images corresponding to the basement plan and the pile foundation plan based on the site plan and topographic map, and determining the location of each building element in the target underground building, includes:
[0026] Based on the site plan and topographic map, the first reference position of each building element in the target underground structure is determined from the image of the underground structure element corresponding to the pile foundation plan.
[0027] Based on the images of underground building elements corresponding to the basement plan and topographic map, determine the second reference position of each building element in the target underground building;
[0028] Based on the first reference position and the second reference position, determine the location of each building element in the target underground structure.
[0029] As one possible implementation, determining the first reference position of each building element in the target underground structure based on the images of the underground structure elements corresponding to the pile foundation plan based on the site plan and topographic map includes:
[0030] Based on the coordinates of the pre-set correction control points, the orientation of the underground building element image corresponding to the pile foundation plan is adjusted so that the outer wall line of the underground building coincides with the outer wall line of the surface building in the general plan and topographic map.
[0031] The location of each building element is determined by positioning the corresponding points on the outer wall lines of the underground structures and the outer wall lines of the surface structures on the site plan and topographic map.
[0032] As one possible implementation, determining the attribute information of the target underground structure based on the location of each building element and the corresponding element level includes:
[0033] Based on the location of each building element and the element level corresponding to each building element, the spatial information and parameter information of each building element are obtained.
[0034] By combining the spatial and parameter information of each of the building elements, the attribute information of the target underground structure is obtained.
[0035] Secondly, embodiments of this application provide a device for determining the attribute information of underground structures, the device comprising:
[0036] The image correction module is used to acquire images of the target underground structure and perform image correction on the underground structure images to obtain images of the target underground structure, including a site plan, a pile foundation plan, a basement plan, and a topographic map;
[0037] The vectorization processing module is used to perform vectorization processing on the target underground building image to obtain the underground building element image corresponding to the basement plan and the underground building element image corresponding to the pile foundation plan, wherein each building element in the underground building element image is at the corresponding element level.
[0038] The element positioning module is used to locate the underground building element images corresponding to the basement plan and the pile foundation plan based on the general plan and topographic map, and to determine the position of each building element in the target underground building.
[0039] The determination module is used to determine the attribute information of the target underground building based on the location of each building element and the element level corresponding to each building element.
[0040] As one possible implementation, the image correction module is specifically used for:
[0041] Based on a pre-defined coordinate system and the dimension annotation information in the underground building images, the reference coordinates of each building element in the underground building images are determined.
[0042] The underground building image is corrected based on the pre-set correction control points and the reference coordinates of each building element in the underground building image to obtain the target underground building image.
[0043] As one possible implementation, the image correction module is also used for:
[0044] Extract the feature point coordinates of each architectural element in the image of the underground structure;
[0045] Based on the coordinates of the correction control points and the reference coordinates of each building element, coordinate matching is performed on the feature point coordinates of each building element to obtain the matching result;
[0046] Based on the matching result, an affine transformation is performed on the image of the underground structure to obtain the image of the target underground structure.
[0047] As one possible implementation, the image correction module is also used for:
[0048] The affine transformation parameters are determined based on the matching results. The affine transformation parameters include translation parameters, rotation parameters, and scaling parameters.
[0049] The image of the underground structure is corrected according to the affine transformation parameters to obtain the target underground structure image.
[0050] As one possible implementation, the vectorization processing module is specifically used for:
[0051] Extract raster data from the image of the target underground structure, and convert the raster data into vector data;
[0052] The vector data is subjected to vectorization tracking processing to extract vectorized elements corresponding to each building element from the vector data;
[0053] Based on the vectorized elements and element levels corresponding to each building element, the underground building structure element images corresponding to the basement plan and the underground building structure element images corresponding to the pile foundation plan are obtained.
[0054] As one possible implementation, the feature localization module is specifically used for:
[0055] Based on the site plan and topographic map, the first reference position of each building element in the target underground structure is determined from the image of the underground structure element corresponding to the pile foundation plan.
[0056] Based on the images of underground building elements corresponding to the basement plan and topographic map, determine the second reference position of each building element in the target underground building;
[0057] Based on the first reference position and the second reference position, determine the location of each building element in the target underground structure.
[0058] As one possible implementation, the feature localization module is also used for:
[0059] Based on the coordinates of the pre-set correction control points, the orientation of the underground building element image corresponding to the pile foundation plan is adjusted so that the outer wall line of the underground building coincides with the outer wall line of the surface building in the general plan and topographic map.
[0060] The location of each building element is determined by positioning the corresponding points on the outer wall lines of the underground structures and the outer wall lines of the surface structures on the site plan and topographic map.
[0061] As one possible implementation, the determining module is specifically used for:
[0062] Based on the location of each building element and the element level corresponding to each building element, the spatial information and parameter information of each building element are obtained.
[0063] By combining the spatial and parameter information of each of the building elements, the attribute information of the target underground structure is obtained.
[0064] Thirdly, embodiments of this application provide an electronic device, including: a processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the method for determining the attribute information of underground structures as described in any of the first aspects above.
[0065] Fourthly, embodiments of this application provide a storage medium storing a computer program, which, when executed by a processor, performs the steps of the method for determining the attribute information of underground structures as described in any of the first aspects above.
[0066] According to the method, electronic device, and storage medium for determining the attribute information of underground structures in this application, an image of the target underground structure is acquired, and the image is corrected. Based on the corrected image, vectorization processing is performed to obtain the corresponding underground structure element images for the basement plan and pile foundation plan. The corresponding underground structure element images are then located based on the site plan and topographic map to determine the position of each building element in the target underground structure. Finally, the attribute information of the target underground structure is determined by combining the position of each building element and its corresponding element level. The underground structure image is obtained by collecting and digitally scanning the as-built drawings of the target underground structure. The parameter information of the target underground structure is determined by combining image correction, vectorization processing, and element spatial positioning to restore the actual position of the target underground structure in geographic space. In this process, technicians are not required to go deep into the site for on-site measurements, thus ensuring the safety of technicians. Furthermore, the entire digital processing of internal data is not affected by factors such as weather or site conditions. Therefore, it not only saves manpower and material costs, but also ensures the progress and efficiency of the underground structure survey. Attached Figure Description
[0067] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0068] Figure 1 A flowchart illustrating a method for determining the attribute information of underground structures provided in an embodiment of this application is shown.
[0069] Figure 2 A schematic flowchart of an image correction method provided in an embodiment of this application is shown;
[0070] Figure 3 A flowchart illustrating an element localization method provided in an embodiment of this application is shown.
[0071] Figure 4 This illustration shows a topographic map positioning diagram provided in an embodiment of this application;
[0072] Figure 5 This illustration shows a measured coordinate positioning diagram provided in an embodiment of this application;
[0073] Figure 6 This illustration shows a structural schematic diagram of a device for determining the attribute information of underground buildings and structures according to an embodiment of this application;
[0074] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation
[0075] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. It should be understood that the accompanying drawings in this application are for illustrative and descriptive purposes only and are not intended to limit the scope of protection of this application. Furthermore, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of this application. It should be understood that the operations in the flowcharts may not be implemented in sequence, and steps without logical contextual relationships may be reversed or implemented simultaneously. In addition, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowcharts, or remove one or more operations from the flowcharts.
[0076] Furthermore, the described embodiments are merely some, not all, of the embodiments of this application. The components of the embodiments of this application described and illustrated herein can typically be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0077] To enable those skilled in the art to utilize the content of this application, and in conjunction with the specific application scenario of "digitalization of internal data processing" for underground building surveys, the following implementation methods are provided. For those skilled in the art, the general principles defined herein can be applied to other embodiments and application scenarios without departing from the spirit and scope of this application. Although this application primarily describes a method for determining the attribute information of underground buildings, it should be understood that this is merely an exemplary embodiment.
[0078] It should be noted that the term "comprising" will be used in the embodiments of this application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0079] Compared with the existing "full field measurement" method for underground building and structure surveys, this application adopts an "indoor digitalization" method for underground building and structure surveys. It constructs a technical route of "collection of as-built drawings - digital acquisition - vectorization processing - spatial element positioning - parameter information determination - database construction". While determining the parameter information of underground buildings and structures, it not only saves manpower and material resources, but also ensures the progress and efficiency of underground building and structure surveys.
[0080] Figure 1 A flowchart illustrating a method for determining the attribute information of underground structures according to an embodiment of this application is shown. (Refer to...) Figure 1 As shown, the execution subject of this method is an electronic device with image processing and data processing capabilities, and the specific execution process of this method is as follows:
[0081] S101. Obtain the underground building image of the target underground building, and perform image correction on the underground building image to obtain the target underground building image.
[0082] Optionally, images of underground structures are obtained by collecting as-built drawings of the target underground structure, such as site plans, floor plans, topographic maps, sectional (elevation) views, pile foundation plans, and plans and sections of the pile foundation retaining structure. These as-built drawings are mostly compiled from project archives. Since project archives contain a large amount of as-built data, it is first necessary to filter the project archives to obtain the data corresponding to the underground structure project. Then, the drawings of the target underground structure are selected and digitally scanned to obtain images of the underground structure. During the digital scanning process, the focus is mainly on internal elements of the underground structure, such as the external retaining walls, entrances and exits, internal fixed walls, and staircases.
[0083] To facilitate the retrieval of images of underground structures, these images can be archived and organized. For example, the images can be named and stored according to a preset naming rule. For instance, the preset naming rule can be "AB(C)". Here, the first part A represents the natural sequence number of the image type; the second part B represents the image name, which consists of the project name + project title + drawing name, and the drawing name cannot be arbitrarily changed; the third part C consists of the drawing type code + "-" + the natural sequence number within the drawing type. For example, the image name for an underground structure could be: 2-Songxin New Construction No. 20 Plot Residential Community Townhouse 2 Basement Floor Plan Townhouse 2 Basement Floor Plan (4-1).jpg.
[0084] Since the underground building images of the target underground buildings are obtained based on digital scanning, there may be problems such as tilting in the images. Therefore, it is necessary to perform image correction on the underground building images to obtain 1:1 actual size images of the target underground buildings, so as to ensure the accuracy of the position of each building element in the underground building images.
[0085] S102. Vectorize the target underground building image to obtain the underground building element image corresponding to the basement plan and the underground building element image corresponding to the pile foundation plan.
[0086] Optionally, the image of the target underground structure is essentially an image formed by scanning paper maps. Therefore, the image data contained in the image of the target underground structure is essentially raster data. Vectorization of the image of the target underground structure is the process of converting raster data into vector data. It should be noted that color raster data cannot be directly used in the vectorization process; therefore, the image of the target underground structure is a black and white image. The specific vectorization process can be implemented using vectorization tools, such as computer software.
[0087] S103. Based on the site plan and topographic map, locate the underground building elements corresponding to the basement plan and the pile foundation plan, and determine the location of each building element in the target underground building.
[0088] Optionally, the digitized objects of underground structures mainly consist of various architectural elements, such as the external walls, entrances and exits, and internal elements like fixed walls and staircases. Vectorizing the image of the target underground structure involves creating vectorized drawings of each architectural element. Based on this, further element localization is performed using the underground structure element image to determine the planar location of each structure within the target underground structure. Specifically, spatial element localization is performed based on both the site plan and the topographic map.
[0089] S104. Based on the location of each building element and the element level corresponding to each building element, determine the attribute information of the target underground building structure.
[0090] Optionally, based on the planar location of each building element and the corresponding element level, the attribute information of the target underground structure can be determined, and the building elements corresponding to the target underground structure can be organized into layers, including underground structures, pile foundations, elevated structures, bridges, and foundations. Furthermore, for the internal structure of different underground structures, such as the outer perimeter walls, inner walls, internal columns, stairs, air vents, lighting, and foundation pit retaining walls, the different data attribute structures of each underground structure can be clearly defined.
[0091] Therefore, according to the method for determining the attribute information of underground structures provided in this application embodiment, an image of the target underground structure is obtained, and the image is corrected. Based on the corrected image, vectorization processing is performed to obtain the corresponding underground structure element images for the basement plan and pile foundation plan. The corresponding underground structure element images are then located based on the site plan and topographic map to determine the position of each building element in the target underground structure. Finally, the attribute information of the target underground structure is determined by combining the position of each building element and its corresponding element level. The underground structure image is obtained by collecting and digitally scanning the as-built drawings of the target underground structure. The parameter information of the target underground structure is determined by combining image correction, vectorization processing, and element spatial positioning to restore the actual position of the target underground structure in geographic space. In this process, technicians are not required to go deep into the site for on-site measurements, thus ensuring the safety of technicians. Furthermore, the entire digital processing of internal data is not affected by factors such as weather or site conditions. Therefore, it not only saves manpower and material costs, but also ensures the progress and efficiency of the underground structure survey.
[0092] As one possible implementation, such as Figure 2 As shown, step S101 above corrects the image of the underground structure to obtain the target underground structure image, including:
[0093] S201. Based on the pre-set coordinate system and the dimension annotation information in the underground building images, determine the reference coordinates of each building element in the underground building images.
[0094] For example, the pre-defined coordinate system is established with the orthogonal main axis direction of the underground structure, and the relative coordinates of each building element are calculated based on the coordinate system and the dimension annotations in the image of the underground structure, so as to use the relative coordinates of each building element as the reference coordinates of each building element.
[0095] S202. Based on the pre-set correction control points and the reference coordinates of each building element in the underground building image, perform image correction on the underground building image to obtain the target underground building image.
[0096] Optionally, affine transformation can be used to correct the images of underground structures acquired through digital scanning. This involves correcting the shape of the images through affine transformation, ensuring that the shape, position, and angles of the underground structures conform to predetermined standards. The scanned images of underground structures are raster images, and the correction is based on the dimensional data and relative positional relationships (such as orthogonality and parallelism) of the various building elements annotated on the images.
[0097] As an example, step S202 above includes: extracting the feature point coordinates of each building element in the underground building image; performing coordinate matching on the feature point coordinates of each building element based on the coordinates of the correction control point and the reference coordinates of each building element to obtain the matching result; and performing an affine transformation on the underground building image according to the matching result to obtain the target underground building image.
[0098] For example, a preset number of points are selected as correction control points on the image of underground structures. This preset number can be four, and the specific number is not limited. Specifically, four relatively dispersed corner points of the exterior walls of the underground structures, or intersections of orthogonal principal axes, are selected as correction control points on the image. Based on this, feature points of each building element in the image are extracted using a feature point extraction algorithm, and the coordinates of these feature points are determined. The feature points of each building element can include corner points, endpoints of line segments, etc. Using the reference coordinates of each building element as a reference standard, the coordinates of the feature points to be read are matched with the coordinates of the correction control points to obtain the matching result. The matching result indicates the difference between the reference coordinates and the feature point coordinates of each building element. Then, the affine transformation parameters are calculated based on the matching result.
[0099] For example, affine transformation parameters are determined based on the matching results; the image of the underground structure is then corrected using these parameters to obtain the target underground structure image. The affine transformation parameters include translation, rotation, and scaling parameters. An affine matrix is calculated based on these parameters and used to transform the underground structure image, resulting in an adjusted image of the target underground structure. After image correction using affine transformation, the point residuals and feature size differences should be controlled to not exceed preset values, which serve as a reference to indicate the completion of the affine transformation. For example, the preset value is 5 cm.
[0100] Based on this, affine transformation is used to correct the image of underground structures, thereby correcting the deformation of the images and the posture of each building element.
[0101] As one possible implementation, step S102 above performs vectorization processing on the target underground structure image to obtain the underground structure element image corresponding to the basement plan and the underground structure element image corresponding to the pile foundation plan, including:
[0102] Extract raster data from the target underground building image and convert the raster data into vector data; perform vectorization tracking processing on the vector data to collect vectorized features corresponding to each building element from the vector data; based on the vectorized features corresponding to each building element and the feature level corresponding to each building element, obtain the underground building element image corresponding to the basement plan and the underground building element image corresponding to the pile foundation plan.
[0103] For example, the vectorization process is implemented using vectorization tools, such as computer software. The process specifically includes raster data binarization, snapping settings, vectorization, and feature generation. This is a fully automated vectorization process, characterized by its speed and efficiency. However, because the line segments vectorized from the target underground structure image are stored on a single layer, text annotations will also become different line segments, and lines exceeding a certain width are automatically converted into polygon features, resulting in a large workload for post-processing. Therefore, in practice, interactive vectorization is more commonly used to facilitate vectorized tracking.
[0104] Specifically, by selecting a start point and an end point on a line segment of the raster data of the target underground building image, a line feature object is automatically generated and placed in a designated layer. The user can control how the line segment is traced based on their understanding of the raster data. Repeating this process completes the vectorization of the raster data of the target underground building image.
[0105] For example, different colors can be used to label various building elements in the target underground building image. For instance, different colors can be used to label the underground building elements such as light openings, entrances and exits, driveways, sump pits, internal elevator shafts, internal columns, internal stairs, internal walls, internal slopes, ventilation openings, outer walls, inner walls, and pile foundation range in the basement plan and pile foundation plan. This will result in the underground building element images corresponding to the basement plan and the pile foundation plan.
[0106] Based on this, vectorized features of underground structures are collected on the basis of raster image correction, and feature maps of underground structures are created to realize feature vectorization and topology checking of building features.
[0107] As one possible implementation, such as Figure 3 As shown, step S103 above locates the underground building element images corresponding to the basement plan and the pile foundation plan based on the site plan and topographic map, determining the location of each building element in the target underground building, including:
[0108] S301. Based on the images of underground building elements corresponding to the pile foundation plan and topographic map, determine the first reference position of each building element in the target underground building.
[0109] For example, based on the coordinates of pre-set correction control points, the orientation of the underground building element image corresponding to the pile foundation plan is adjusted so that the outer wall line of the underground building coincides with the outer wall line of the surface building on the site plan and topographic map; the first reference position of each building element is determined by positioning based on the position information of the corresponding points on the outer wall line of the underground building and the outer wall line of the surface building on the site plan and topographic map.
[0110] For example, the coordinates of the correction control points marked on the site plan and the planar position of the outline of the surface buildings are used to locate the underground buildings. The site plan used as the registration basis has a scale of not less than 1:2000 and the number of control point coordinates on the site plan should not be less than 4.
[0111] Specifically, based on the coordinates of the correction control points annotated on the site plan, affine transformation is used to locate the site plan. Through similar transformations, such as translation and rotation, the orientation of the underground building elements is adjusted. The outer perimeter wall lines of the underground buildings are roughly aligned with the outer wall lines of the surface buildings on the site plan. Corresponding points on the outer wall lines are then precisely registered to obtain the first reference position.
[0112] It should be noted that the number of correction control points used when positioning the site plan should be no less than 4, and the residual error of the control points after the element positioning is completed should not exceed 10cm.
[0113] S302. Based on the site plan and topographic map, determine the second reference position of each building element in the target underground structure by analyzing the images of the underground building elements corresponding to the basement plan.
[0114] For example, based on the coordinates of pre-set correction control points, the orientation of the underground building element image corresponding to the basement plan is adjusted so that the outer wall line of the underground building coincides with the outer wall line of the surface building on the site plan and topographic map; the second reference position of each building element is determined by positioning based on the position information of the corresponding points on the outer wall line of the underground building and the outer wall line of the surface building on the site plan and topographic map.
[0115] For example, such as Figure 4As shown, the underground structures are located using the planar position of the outlines of surface structures on a topographic map. The topographic map used as the basis for location should have a scale of no less than 1:2000, and the exterior wall lines of the surface structures on the current topographic map should basically match the exterior wall lines of the underground structures. Specifically, through similar transformations, such as translation and rotation, the orientation of the underground structure element map is adjusted, and the exterior wall lines of the underground structures are roughly aligned with the exterior wall lines of the surface structures on the topographic map. Then, corresponding points on the exterior wall lines are identified and precisely registered to obtain a second reference position.
[0116] It should be noted that the positioning of topographic map elements should meet the following requirements: the position difference between the corresponding points on the underground building element map and the topographic map should not exceed 10cm, and the distance parameter d between the outer wall line of the underground building and the outline of the surface building should not exceed 50cm.
[0117] The spacing parameter d can be determined using the following formula (1):
[0118]
[0119] Where d represents the spacing parameter, A represents the outline of underground structures, B represents the outline of surface structures, and S... A∪B-A∩B C represents the area of the symmetrical difference between the outlines of underground structures (A) and surface structures (B). A This represents the perimeter of the outline A of the underground structure.
[0120] S303. Determine the location of each building element in the target underground structure based on the first reference location and the second reference location.
[0121] For example, by combining the first reference position obtained from the site plan and the second reference position obtained from the topographic map, the location of each building element in the target underground structure can be determined. Alternatively, image registration can be performed. The image registration method is similar to topographic map registration, both using corresponding points for registration and positioning, and will not be elaborated further here. However, if the building elements of the target underground structure are not found on the site plan, topographic map, or image map, or if the underground and above-ground outlines of the structure deviate significantly, or even if the above-ground portion of the structure cannot be determined, on-site positioning measurements are required. Specifically, the coordinates of the following feature points should be measured: nodes on the inner outline of the underground building, elevator shafts, center points of internal columns (planes), and nodes on internal elements such as interior walls. Thus, geographic coordinate correction and auxiliary registration are performed using the measured coordinates to complete the element positioning work.
[0122] For example, such as Figure 5As shown, field positioning measurements can be manually registered based on corresponding points. Generally, two feature points with good matching are selected, one for positioning and the other for orientation. This method is equivalent to a three-parameter plane coordinate transformation model, including two translation parameters, one rotation parameter, and a scaling parameter of 1, with no adjustment correction. Based on this, when performing geographic coordinate correction, most measured feature points match the corresponding points on the underground building structure element image quite well, and further correction is performed using affine transformation.
[0123] Based on this, after vectorizing the image of the target underground structure, the element image of the underground structure is located, thereby determining the planar position of each building element in the target underground structure in the coordinate system.
[0124] As one possible implementation, step S104 above determines the attribute information of the target underground structure based on the location of each building element and the element level corresponding to each building element, including:
[0125] Based on the location of each building element and the corresponding element level, the spatial information and parameter information of each building element are obtained; the spatial information and attribute information of each building element are combined to obtain the attribute information of the target underground building structure.
[0126] For example, the element levels corresponding to each building element serve as the layered space of the target underground structure. By executing rules such as identifying elements at the same level and organizing elements into different levels, the planar extent and vertical height of the underground structure can be expressed using a layered and segmented approach. Combined with the location of each building element, the spatial information of each element is determined; that is, the spatial information includes the planar coordinates, height, and other spatial data of each positioned building element. Attribute information represents the specific parameters of each building element, such as the depth of the internal elevator shaft, the width and shape of the internal columns, etc.
[0127] In addition, a database of underground building structures can be created to store the spatial and attribute information of each building element in the target underground building structure.
[0128] In summary, this application embodiment conducts a detailed investigation of the interconnected structure, spatial location, internal composition, internal partitioning structure, and concealed structure of underground structures. Specifically, it examines the internal composition and interconnected structure of underground structures, including entrances and exits, driveways, pedestrian passages, staircases, elevators, ventilation openings, and skylights; the internal partitioning structure, including floors, walls, and columns; and the concealed structure, including underground pile foundations and foundation pit retaining walls. Furthermore, it refines the vectorization and spatial positioning of elements, combining site plans, topographic maps, imagery, and measured feature points for spatial positioning. During the positioning process, accuracy check indicators and limit requirements, such as geometric correction residual error and symmetry difference of underground structure outlines, are applied to ensure the data accuracy of the determined underground structure parameters.
[0129] Based on the same inventive concept, this application also provides an underground building attribute information determination device corresponding to the underground building attribute information determination method. Since the principle of the device in this application is similar to the underground building attribute information determination method described above in this application, the implementation of the underground building attribute information determination device can refer to the implementation of the method, and the repeated parts will not be described again.
[0130] Reference Figure 6 The diagram shown is a structural schematic of an underground building attribute information determination device 600 provided in an embodiment of this application. The underground building attribute information determination device 600 includes: an image correction module 601, a vectorization processing module 602, an element positioning module 603, and a determination module 604, wherein:
[0131] The image correction module 601 is used to acquire the underground building image of the target underground building and to perform image correction on the underground building image to obtain the target underground building image. The underground building image includes a general plan, a pile foundation plan, a basement plan, and a topographic map.
[0132] The vectorization processing module 602 is used to perform vectorization processing on the target underground building image to obtain the underground building element image corresponding to the basement plan and the underground building element image corresponding to the pile foundation plan. The building elements in the underground building element image are at the corresponding element level.
[0133] The element positioning module 603 is used to locate the underground building element images corresponding to the basement plan and the pile foundation plan based on the site plan and topographic map, and to determine the position of each building element in the target underground building.
[0134] The determination module 604 is used to determine the attribute information of the target underground building based on the location of each building element and the element level corresponding to each building element.
[0135] Therefore, the underground structure attribute information determination device according to the embodiments of this application acquires an image of the target underground structure, performs image correction on the image, and performs vectorization processing on the corrected image to obtain underground structure element images corresponding to the basement plan and pile foundation plan, respectively. Based on the site plan and topographic map, the device locates the underground structure element images corresponding to the basement plan and pile foundation plan, respectively, to determine the position of each building element in the target underground structure. Then, by combining the position of each building element and the corresponding element level, the attribute information of the target underground structure is determined. The underground structure image is obtained by collecting and digitally scanning the as-built drawings of the target underground structure, and by combining image correction, vectorization processing, and element spatial positioning to determine the parameter information of the target underground structure, thereby restoring the actual position of the target underground structure in geographic space. In this process, technicians are not required to go deep into the site for on-site measurements, thus ensuring the safety of technicians. Furthermore, the entire digital processing of internal data is not affected by factors such as weather or site conditions. Therefore, it not only saves manpower and material costs, but also ensures the progress and efficiency of the underground structure survey.
[0136] In one possible implementation, the image correction module 601 described above is specifically used for:
[0137] Based on a pre-defined coordinate system and dimension annotations in the images of underground structures, the reference coordinates of each building element in the images of underground structures are determined.
[0138] The underground building image is corrected based on the pre-set correction control points and the reference coordinates of each building element in the underground building image to obtain the target underground building image.
[0139] In one possible implementation, the image correction module 601 is further configured to:
[0140] Extract the coordinates of feature points of each building element from the image of underground structures;
[0141] Based on the coordinates of the correction control points and the reference coordinates of each building element, coordinate matching is performed on the coordinates of the feature points of each building element to obtain the matching results.
[0142] Based on the matching results, an affine transformation is performed on the image of the underground structure to obtain the image of the target underground structure.
[0143] In one possible implementation, the image correction module 601 is further configured to:
[0144] The affine transformation parameters are determined based on the matching results. The affine transformation parameters include translation parameters, rotation parameters, and scaling parameters.
[0145] The image of the underground structure is corrected by applying affine transformation parameters to obtain the target underground structure image.
[0146] In one possible implementation, the vectorization processing module 602 described above is specifically used for:
[0147] Extract raster data from the image of the target underground structure and convert the raster data into vector data;
[0148] Vector data is processed for vectorization and tracking to extract vectorized elements corresponding to each building element from the vector data;
[0149] Based on the vectorized elements and element levels corresponding to each building element, we obtain the underground building structure element images corresponding to the basement plan and the pile foundation plan.
[0150] In one possible implementation, the feature positioning module 603 is specifically used for:
[0151] Based on the images of underground building elements corresponding to the pile foundation plan based on the site plan and topographic map, determine the first reference position of each building element in the target underground building;
[0152] Based on the images of underground building elements corresponding to the basement floor plan and topographic map, determine the second reference position of each building element in the target underground building;
[0153] Based on the first and second reference positions, determine the location of each building element in the target underground structure.
[0154] In one possible implementation, the feature positioning module 603 is further configured to:
[0155] Based on the coordinates of the pre-set correction control points, the orientation of the underground building elements corresponding to the pile foundation plan is adjusted so that the outer wall line of the underground building coincides with the outer wall line of the surface building on the general plan and topographic map.
[0156] The location of each building element is determined by comparing the location of the corresponding points on the exterior wall lines of underground structures with those on the site plan and topographic map.
[0157] In one possible implementation, the determining module 604 is specifically used for:
[0158] Based on the location of each building element and the element level corresponding to each building element, the spatial information and parameter information of each building element are obtained.
[0159] By combining the spatial and parameter information of each building element, the attribute information of the target underground structure can be obtained.
[0160] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.
[0161] This application also provides an electronic device 700, such as... Figure 7 The diagram shown is a schematic representation of the structure of an electronic device 700 provided in an embodiment of this application. It includes a processor 701 and a memory 702, and optionally, a bus 703. The memory 702 stores machine-readable instructions executable by the processor 701. When the electronic device 700 is running, the processor 701 and the memory 702 communicate via the bus 703. When the machine-readable instructions are executed by the processor 701, the method for determining the attribute information of underground structures as described in any of the preceding claims is executed.
[0162] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the method for determining the attribute information of underground structures as described in any of the preceding claims.
[0163] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.
[0164] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0165] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. A method for determining the attribute information of underground structures, characterized in that, include: The process involves acquiring images of the target underground structure and performing image correction on these images to obtain a target underground structure image, which includes a site plan, a pile foundation plan, a basement plan, and a topographic map. The target underground building image is vectorized to obtain the underground building element image corresponding to the basement plan and the underground building element image corresponding to the pile foundation plan. Each building element in the underground building element image is at the corresponding element level, and the element level corresponding to each building element is the layered space of the target underground building. Based on the site plan and topographic map, the images of underground building elements corresponding to the basement plan and the images of underground building elements corresponding to the pile foundation plan are located to determine the position of each building element in the target underground building; Based on the location of each building element and the element level corresponding to each building element, the attribute information of the target underground building structure is determined. The step of locating the images of underground building elements corresponding to the basement plan and the pile foundation plan based on the site plan and topographic map to determine the position of each building element in the target underground building structure includes: determining a first reference position of each building element in the target underground building structure based on the images of underground building elements corresponding to the pile foundation plan based on the site plan and topographic map; determining a second reference position of each building element in the target underground building structure based on the images of underground building elements corresponding to the basement plan based on the site plan and topographic map; and determining the position of each building element in the target underground building structure based on the first reference position and the second reference position. The method of determining the attribute information of the target underground structure based on the location of each building element and the corresponding element level of each building element includes: obtaining the spatial information and parameter information of each building element based on the location of each building element and the corresponding element level of each building element; and combining the spatial information and parameter information of each building element to obtain the attribute information of the target underground structure.
2. The method for determining the attribute information of underground structures according to claim 1, characterized in that, The step of image correction of the underground structure image to obtain the target underground structure image includes: Based on a pre-defined coordinate system and the dimension annotation information in the underground building images, the reference coordinates of each building element in the underground building images are determined. The underground building image is corrected based on the pre-set correction control points and the reference coordinates of each building element in the underground building image to obtain the target underground building image.
3. The method for determining the attribute information of underground structures according to claim 2, characterized in that, The step of image correction based on pre-set correction control points and the reference coordinates of each building element in the underground structure image to obtain the target underground structure image includes: Extract the feature point coordinates of each architectural element in the image of the underground structure; Based on the coordinates of the correction control points and the reference coordinates of each building element, coordinate matching is performed on the feature point coordinates of each building element to obtain the matching result; Based on the matching result, an affine transformation is performed on the image of the underground structure to obtain the image of the target underground structure.
4. The method for determining the attribute information of underground structures according to claim 3, characterized in that, The step of performing an affine transformation on the underground structure image based on the matching result to obtain the target underground structure image includes: The affine transformation parameters are determined based on the matching results. The affine transformation parameters include translation parameters, rotation parameters, and scaling parameters. The image of the underground structure is corrected according to the affine transformation parameters to obtain the target underground structure image.
5. The method for determining the attribute information of underground structures according to claim 1, characterized in that, The process of vectorizing the image of the target underground structure to obtain the underground structure element images corresponding to the basement plan and the pile foundation plan includes: Extract raster data from the image of the target underground structure, and convert the raster data into vector data; The vector data is subjected to vectorization tracking processing to extract vectorized elements corresponding to each building element from the vector data; Based on the vectorized elements and element levels corresponding to each building element, the underground building structure element images corresponding to the basement plan and the underground building structure element images corresponding to the pile foundation plan are obtained.
6. The method for determining the attribute information of underground structures according to claim 1, characterized in that, The step of determining the first reference position of each building element in the target underground structure based on the images of the underground structure elements corresponding to the pile foundation plan based on the site plan and topographic map includes: Based on the coordinates of the pre-set correction control points, the orientation of the underground building element image corresponding to the pile foundation plan is adjusted so that the outer wall line of the underground building coincides with the outer wall line of the surface building in the general plan and topographic map. The location of each building element is determined by positioning the corresponding points on the outer wall lines of the underground structures and the outer wall lines of the surface structures on the site plan and topographic map.
7. An electronic device, characterized in that, include: The device includes a processor and a memory, the memory storing machine-readable instructions executable by the processor, which, when the electronic device is in operation, are executed by the processor to perform the steps of the method for determining the attribute information of underground structures as described in any one of claims 1 to 6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the method for determining the attribute information of underground structures as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Architectural drawing recognition method and system based on AI building drawing recognition
CN116343251A
Underground building combined surveying and mapping method
CN119803425A