Two-way calibration building defect mapping method and system
By constructing an interactive computation between a camera imaging geometric model and a 3D aerial survey model, a unified defect identifier is generated, solving the cross-media matching problem of images, 3D models, and 2D base maps in building drone inspections, and realizing high-precision automatic positioning and full-cycle digital traceability.
Patent Information
- Application Number
- CN202611447324.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing building drone inspection platforms cannot achieve unified spatial anchoring of three sets of data: images, 3D models, and 2D base maps. Defect locations require manual adjustment based on experience, leading to difficulties in cross-media matching, high calibration costs, and severe defect misalignment, making it impossible to achieve accurate positioning and automatic synchronous display.
By constructing a camera imaging geometric model, the inspection image is back-projected to generate a three-dimensional spatial anchor point, which is then intersected with the three-dimensional aerial survey model. The two-way coordinate transformation relationship is determined by combining two-dimensional and three-dimensional geometric features. The defect coordinates are converted based on the three-dimensional spatial anchor point to generate a unified defect identifier, thus realizing a unified mapping between the image, the three-dimensional model, and the two-dimensional base map.
It significantly improves the automation level and spatial positioning accuracy of cross-media defect coordinate matching, realizes automatic synchronous display of defects across multiple media and full-cycle digital traceability, and reduces the cost and workload of manual calibration.
Smart Images

Figure CN123181397A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of building structural health monitoring and intelligent detection technology, and more specifically, to a two-way calibration method and system for mapping building defects. Background Technology
[0002] With the continuous increase in the stock of high-rise commercial buildings, curtain wall complexes, and irregularly shaped curved buildings, the number of building facade defects such as cracks, water seepage, corrosion, and curtain wall damage is increasing year by year, and safety risks such as facade detachment and leakage erosion of load-bearing components are becoming increasingly prominent. Drones equipped with visible light and infrared imaging equipment have become the mainstream maintenance method for facade inspection. After the inspection, three types of maintenance data are simultaneously stored: real-time images, two-dimensional construction base maps, and three-dimensional oblique aerial survey models. Maintenance personnel need to combine these three types of data to cross-confirm the spatial location of defects and complete on-site repairs and defect verification. Conventional inspection platforms can independently complete basic single operations such as image defect annotation, three-dimensional model browsing, and two-dimensional base map viewing, and can complete simple defect marking within a single medium.
[0003] In the process of realizing this invention, the inventors discovered that existing building drone inspection platforms still have core defects that are difficult to overcome: the three sets of data—images, 3D models, and 2D base maps—belong to completely independent coordinate systems, lacking a unified spatial anchoring benchmark. The location of defects can only be matched across media by relying on human experience and manually adjusting the position of the drawings. The problems of defect misalignment and large calibration workload are particularly prominent in curved surface and dense window frame building scenarios. It is impossible to achieve accurate and automatic synchronous positioning of defects in the three types of media, and it is difficult to output unified and complete defect operation and maintenance data to support maintenance dispatch and full life cycle traceability of defects. Summary of the Invention
[0004] Based on this, and to address the aforementioned issues, this invention provides a bidirectional calibration method and system for mapping building defects. It constructs a camera imaging geometric model, back-projects the inspected defect pixels, and intersects with a 3D aerial survey model to generate 3D spatial anchor points. It extracts 2D and 3D geometric features to solve the bidirectional coordinate transformation relationship, uses the 3D spatial anchor points as a reference to complete the bidirectional defect coordinate conversion, and binds a unified defect identifier. Based on the defect identifier, it associates multi-media coordinates to generate a unified bidirectional calibration mapping result for building defects. This establishes a unified spatial reference shared by images, 3D models, and 2D base maps, solving industry pain points such as defect misalignment, high calibration costs, and inconsistent multi-media data caused by traditional manual matching of control points and manual map adjustments. It significantly improves the automation level and spatial positioning accuracy of cross-media defect coordinate matching, enabling automatic bidirectional mapping and synchronous display of defects between real-world images, 3D aerial survey models, and 2D construction drawings. This provides stable and reliable technical support for defect location during UAV inspections of building facades, on-site maintenance and verification, and full-cycle digital traceability of defects.
[0005] In a first aspect, the present invention provides a bidirectional calibration method for mapping building defects. The method includes: acquiring an inspection image, a two-dimensional plan view, and a three-dimensional aerial survey model of the building to be tested; constructing a camera imaging geometric model based on the inspection image, and back-projecting the defect pixels inside the inspection image using the camera imaging geometric model to obtain spatial rays; intersecting the spatial rays with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points; determining the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the geometric features within the two-dimensional plan view and the three-dimensional aerial survey model; using the three-dimensional spatial anchor points as intermediate references, and combining the bidirectional coordinate transformation relationship to perform defect coordinate conversion, generating unified coordinates bound to the same defect identifier; associating the defect coordinates with the defect identifier to generate a unified mapping result of bidirectionally calibrated building defects.
[0006] Optionally, a camera imaging geometric model is constructed based on the inspection images. The defective pixels inside the inspection images are back-projected using the camera imaging geometric model to obtain spatial rays. The spatial rays are then intersected with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points. This process includes: reading and parsing the metadata inherent in the inspection images to obtain the basic imaging parameters of the camera, in order to construct the camera imaging geometric model; performing distortion correction processing on the defective pixels inside the inspection images; back-projecting the distortion-corrected defective pixels using the camera imaging geometric model to generate spatial rays; and importing the spatial rays into the three-dimensional aerial survey model for intersection calculation to output the three-dimensional spatial anchor points. By reading and analyzing the metadata of inspection images to build a complete camera imaging geometric model, distortion correction is first performed on defect pixels, and then spatial rays are constructed. The intersection of the rays with the 3D aerial survey model is then performed to obtain 3D spatial anchor points. Based on the physical imaging laws of real camera shooting, the defect can be accurately converted from 2D pixels to 3D space, avoiding the positioning offset problem caused by lens distortion and shooting pose deviation. There is no need to manually estimate the spatial position of the defect, solving the problem of relying solely on human experience to judge the floor or facade of the defect. A unified spatial benchmark is accurately established for the image medium to point to the 3D model medium, providing accurate basic anchor point support for subsequent 2D and 3D bidirectional coordinate conversion and automatic cross-media mapping of defects.
[0007] In the above implementation process, the basic imaging parameters of the camera are obtained by reading and parsing the metadata of the inspection image to construct the camera imaging geometric model. This includes: reading the camera intrinsic parameters, lens distortion parameters, and equipment pose extrinsic parameters from the inspection image metadata; if the inspection image metadata does not store the equipment pose extrinsic parameters, the feature points of the inspection image and the 3D aerial survey model are matched, and the equipment pose extrinsic parameters are estimated by the pose solving algorithm; the camera intrinsic parameters, lens distortion parameters, and equipment pose extrinsic parameters are integrated to build the camera imaging geometric model. By parsing the metadata of inspection images, complete camera intrinsic parameters and lens distortion parameters are extracted. When pose is missing, image and 3D model feature matching combined with pose solving algorithms is used to supplement the device pose extrinsic parameters. Multiple types of imaging parameters are integrated to construct a complete camera imaging geometric model, which can completely restore the real imaging physical constraints of UAV shooting. It takes into account two types of inspection image usage scenarios: those with complete positioning data and those without positioning archives. It avoids the subsequent defect pixel back projection offset caused by missing camera parameters and pose estimation distortion, and ensures the accuracy of 3D spatial anchor point calculation. It provides accurate and complete imaging underlying calculation basis for the accurate conversion of defect 2D pixels to 3D space and subsequent 2D and 3D bidirectional calibration operations.
[0008] Optionally, based on the geometric features within the 2D planar base map and the 3D aerial survey model, the bidirectional coordinate transformation relationship between the 2D page and the 3D surface is determined based on the extracted geometric features. This includes: preprocessing the 2D planar base map to extract geometric features from the processed 2D planar base map; performing multi-view projection rendering on the 3D aerial survey model to extract geometric features of the same category as the 2D planar base map from the rendering results; performing matching operations on all extracted geometric features and removing abnormal matching feature points to obtain effective feature control points; and determining the bidirectional coordinate transformation relationship between the 2D page and the 3D surface based on the effective feature control points. By preprocessing the 2D planar base map to extract geometric features and extracting similar geometric features from the 3D aerial survey model through multi-view projection, feature matching is completed and outliers are removed to obtain effective control points. Based on the effective control points, the bidirectional coordinate transformation relationship is solved, which can automatically establish the geometric constraints of bidirectional mapping between the 2D base map page and the 3D model space, getting rid of the traditional rough registration method of manual point setting and manual scaling and translation. By using multi-view projection to unify the 2D and 3D feature dimensions, and combining outlier removal to improve the robustness of control points, it can adapt to complex building facades such as curved surfaces and repeated window panes, reduce the global mapping deviation caused by the error of a single manual calibration point, and provide a stable geometric transformation basis for the automatic conversion between the 3D anchor points of defects and the coordinates of the 2D base map, further ensuring the overall accuracy of the unified mapping of defect coordinates of the three types of media.
[0009] In the above implementation process, at least one of the global homography transformation model, local patch transformation model and multi-scale weighted fusion transformation model is selected to determine the bidirectional coordinate transformation relationship; the execution method of the local patch transformation model includes: dividing the three-dimensional aerial survey model into multiple independent surface patches, solving the local mapping parameters independently based on the control points within the surface patch, and splicing the sampling points across the defect contour after matching the mapping parameters of the respective surface patches to form a complete two-dimensional defect contour. By distinguishing between global homography transformation models, local patch transformation models, and multi-scale weighted fusion transformation models, the 3D aerial survey model is split into independent surface patches for curved and irregularly shaped buildings, and the exclusive mapping parameters are solved for each patch. The corresponding patch parameters are matched across defect contour points to stitch together the complete defect contour. This can adapt to various differentiated building facade forms such as planes, curved surfaces, and inclined surfaces, and overcome the defects of traditional single global transformation models when dealing with irregular curtain walls and local drawing deformations. Independent patch correction can eliminate coordinate offsets caused by building curvature and drawing scanning deformation. Multi-scale fusion further balances local proportional errors, significantly reducing the probability of defect misalignment in complex facade scenarios, improving the adaptability of 2D and 3D coordinate conversion and overall mapping accuracy, and providing diversified adaptation transformation support for unified cross-media mapping of defects in various building scenarios.
[0010] Optionally, using a 3D spatial anchor point as an intermediate reference, and combining a two-way coordinate transformation relationship, defect coordinates are converted to generate unified coordinates bound to the same defect identifier. This includes: substituting the 3D spatial anchor point into the two-way coordinate transformation relationship to perform a forward conversion, obtaining the page coordinates of the defect in the 2D plane base map; generating defect marker points in the 2D plane base map based on the page coordinates; performing a reverse conversion according to the two-way coordinate transformation relationship, mapping the defect marker points to the 3D aerial survey model to obtain the 3D spatial anchor point coordinates; projecting the 3D spatial anchor point onto the corresponding inspection image plane based on the camera imaging geometry model to obtain the inspection image pixel coordinates; and binding the inspection image pixel coordinates, 3D spatial anchor point coordinates, and 2D page coordinates to the same defect identifier to generate unified coordinates. By using 3D spatial anchor points as a unified intermediate benchmark and relying on bidirectional coordinate transformation relationships to complete forward and reverse bidirectional coordinate conversions, two-dimensional page coordinates, reverse 3D anchor points, and inspection image pixel coordinates are obtained respectively. These three types of coordinates are then bound to the same defect identifier to generate unified coordinates. This enables the establishment of a complete coordinate closed-loop link that connects inspection images, 3D aerial survey models, and 2D planar base maps. This differs from traditional solutions where the three types of media coordinates are fragmented and lack a unified associated carrier. The forward link allows for automatic matching of actual defects to map locations, while the reverse link supports tracing back to the original inspection images from map annotation points. Simultaneously, relying on a single defect identifier enables integrated storage of multi-media coordinates, completely solving the problems of scattered multi-media defect data and inconsistent information during modification and filtering. This provides standardized data structure support for synchronous defect display, cross-media click-to-lookup, and unified generation of maintenance reports.
[0011] Optionally, based on the defect identifier and associated defect coordinates, a unified mapping result of building defects with bidirectional calibration is generated, including: synchronously associating the inspection image pixel coordinates, three-dimensional spatial anchor point coordinates, and two-dimensional page coordinates bound to the same defect identifier with the inspection image, three-dimensional aerial survey model, and two-dimensional plan base map and rendering the defect label; receiving defect click operations from any medium and retrieving all associated coordinate information based on the defect identifier; integrating multi-media coordinate association information to generate a unified mapping result of building defects with bidirectional calibration. By relying on defect identifiers to associate defect coordinates across multiple media, the three types of coordinates are simultaneously rendered onto the corresponding media to form defect labels. Responding to defect clicks on any media, all associated coordinate information is retrieved and integrated to generate a unified mapping result. This enables the same defect to be simultaneously visualized on inspection images, 3D aerial survey models, and 2D ground maps, breaking the limitations of traditional solutions where defect labels are static and isolated, and media cannot be linked for viewing. Relying on unified defect identifiers, one-click reverse tracing of the full-dimensional location data of defects across media is achieved, eliminating the need for maintenance personnel to manually compare multiple documents to verify defects, significantly reducing the workload of manual review. Integrating standardized multi-media coordinate information to form a complete mapping result provides a complete and consistent standardized data output carrier for defect screening, risk rating, maintenance dispatch, automatic generation of inspection reports, and full-cycle digital maintenance of defects.
[0012] Optionally, the method further includes: calculating a comprehensive confidence index based on the matching residuals of inspection image pixel coordinates, three-dimensional spatial anchor point coordinates, and two-dimensional page coordinates bound to the same defect identifier; classifying the review level according to the comprehensive confidence index, and providing a downgrade correction path for low-review-level mapping results with manually supplemented control points. By calculating the comprehensive confidence index based on the matching residuals of the three types of media associated coordinates, and classifying the review level according to the confidence index, and providing a downgrade correction path for low-confidence mapping results with manually supplemented control points, the reliability of cross-media defect coordinate mapping results can be quantitatively evaluated, and high-precision defect mapping failure scenarios caused by insufficient feature matching, facade deformation, and camera parameter deviation can be automatically identified. It eliminates the need for manual review of all defect data, only selectively screening low-confidence results for manual auxiliary calibration, significantly reducing the workload of manual verification. Simultaneously, a fault-tolerant correction mechanism for manually supplemented control points is set up to solve the problem of no reliable compensation means after automatic calibration failure, ensuring the robustness of bidirectional defect calibration mapping in complex building scenarios, and further improving the adaptability and reliability of the entire cross-media defect mapping scheme.
[0013] Secondly, the present invention also provides a bidirectional calibration building defect mapping system, which includes: a data acquisition module for acquiring inspection images, two-dimensional plan base maps, and three-dimensional aerial survey models of the building to be tested; an anchor point generation module for constructing a camera imaging geometric model based on the inspection images, back-projecting the defect pixels inside the inspection images through the camera imaging geometric model to obtain spatial rays; intersecting the spatial rays with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points; a bidirectional calibration solution module for determining the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the geometric features within the two-dimensional plan base map and the three-dimensional aerial survey model; a coordinate unification conversion module for converting defect coordinates using the three-dimensional spatial anchor points as intermediate references and combining the bidirectional coordinate transformation relationship to generate unified coordinates bound to the same defect identifier; and a mapping result generation module for generating a unified mapping result of building defects after bidirectional calibration by associating defect coordinates with defect identifiers.
[0014] Thirdly, embodiments of the present invention also provide a computer-readable storage medium storing computer program instructions, which, when read and executed by a processor, perform the steps in any of the above implementations.
[0015] According to the technical solution of this invention, a three-dimensional spatial anchor point is generated by back-projecting the defect pixels of the camera imaging geometric model and intersecting with the three-dimensional aerial survey model. Two-dimensional and three-dimensional geometric features are extracted to solve the bidirectional coordinate transformation relationship. The bidirectional defect coordinate conversion is completed based on the three-dimensional spatial anchor point and a unified defect identifier is bound. Based on the defect identifier, a unified mapping result of bidirectional calibration of building defects is generated by associating multi-media coordinates. This can establish a unified spatial benchmark shared by images, three-dimensional models, and two-dimensional base maps, solving the industry pain points of defect misalignment, high calibration costs, and inconsistent multi-media data caused by traditional manual matching of control points and manual map adjustment. It significantly improves the automation level and spatial positioning accuracy of cross-media defect coordinate matching, and realizes automatic bidirectional mapping and synchronous display of defects between real-shot images, three-dimensional aerial survey models, and two-dimensional construction drawings. This provides stable and reliable technical support for defect positioning, on-site maintenance and verification, and full-cycle digital traceability of defects in building facade drone inspections. Attached Figure Description
[0016] To more clearly illustrate the technical solution of the present invention, the accompanying drawings used in the embodiments of the present invention will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart of the bidirectional calibration building defect mapping method provided in the embodiments of the present invention; Figure 2 This is a schematic diagram of the structure of the bidirectional calibration building defect mapping system provided in the embodiments of the present invention. Detailed Implementation
[0018] The technical solutions of the embodiments of the present invention will now be described with reference to the accompanying drawings. For example, the flowcharts and block diagrams in the drawings illustrate the architecture, functions, and operations of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, program segment, or part of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer instructions. In addition, the functional modules in the various embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
[0019] In one implementation, please refer to Figure 1 The present invention provides a two-way calibration method for mapping building defects, which includes the following steps: S10~S50.
[0020] S10: Acquire inspection images, two-dimensional floor plans, and three-dimensional aerial survey models of the building to be measured.
[0021] S20: Construct a camera imaging geometric model based on the inspection images, and back-project the defect pixels inside the inspection images through the camera imaging geometric model to obtain spatial rays; intersect the spatial rays with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points.
[0022] S30: Extract the geometric features from the two-dimensional planar base map and the three-dimensional aerial survey model respectively, and determine the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the extracted geometric features.
[0023] S40: Using three-dimensional spatial anchor points as intermediate references, and combining bidirectional coordinate transformation relationships, defect coordinates are converted to generate unified coordinates bound to the same defect identifier.
[0024] S50: Generate a unified mapping result of building defects with bidirectional calibration based on defect identifiers and associated defect coordinates.
[0025] In step S10, please refer to Figure 1 The S10 step involves acquiring inspection images, two-dimensional floor plans, and three-dimensional aerial survey models of the building to be measured.
[0026] Specifically, a drone equipped with a visible light camera conducts cruise photography along a planned route along the building facade, acquiring drone-based inspection images of the building facade. These images include metadata such as GNSS positioning, IMU attitude, and camera calibration parameters. A 2D floor plan of the building is also collected, including construction drawings of the building facade and curtain wall layout drawings. Noise reduction and correction preprocessing are performed on the scanned drawings. Based on the drone aerial imagery, a 3D aerial model matching the building facade is generated through 3D reconstruction. This model can be represented using triangular meshes, and a BVH hierarchical bounding box acceleration structure is constructed to support subsequent spatial ray intersection calculations. After acquisition, the three types of data are associated and bound to the same building object to ensure that the inspection images, 2D floor plan, and 3D aerial model correspond to the same building facade. Damaged, missing-view, or out-of-area invalid data are removed, forming a standardized input dataset that can be used for subsequent defect mapping calculations.
[0027] It should be noted that the above datasets support multi-format data compatibility. Inspection images support image formats such as JPG and TIFF with EXIF metadata. Two-dimensional planar base maps refer to digital carriers containing two-dimensional geometric information of building facades, floor plans, curtain wall grids, or maintenance areas. Specific formats include, but are not limited to, PDF vector drawings, scanned bitmap drawings, CAD construction drawings, facade unfolded drawings, curtain wall grid drawings, maintenance and inspection drawings, and JPG or PNG image pages containing building plan information. Three-dimensional aerial survey models support the common Mesh mesh format. For historical inspection images lacking pose metadata and old scanned drawings with wrinkles and deformations, data attributes are marked, and automatic compensation channels for subsequent feature matching and pose estimation are retained to ensure that data acquired from different eras and using different acquisition methods can be integrated into the entire process.
[0028] In step S20, please refer to Figure 1 In step S20, a camera imaging geometric model is constructed based on the inspection images. The defect pixels inside the inspection images are back-projected using the camera imaging geometric model to obtain spatial rays. The spatial rays are intersected with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points.
[0029] As an example, the metadata accompanying the inspection image is read and parsed to obtain the basic imaging parameters of the camera in order to construct the camera imaging geometry model, including: Read camera intrinsic parameters, lens distortion parameters, and device pose extrinsic parameters from the inspection image metadata; If the inspection image metadata does not store the device pose extrinsic parameters, then the feature points of the inspection image and the 3D aerial survey model are matched, and the device pose extrinsic parameters are estimated by the pose solving algorithm. By integrating camera intrinsic parameters, lens distortion parameters, and device pose extrinsic parameters, a camera imaging geometric model is constructed.
[0030] Specifically, the process begins by batch importing a collection of UAV inspection photos. Each photo's EXIF metadata, GNSS positioning, IMU attitude, and flight path logs are then analyzed to extract basic information such as focal length, sensor size, and gimbal angle. Simultaneously, a pre-built 3D aerial survey mesh model with a BVH hierarchical bounding box acceleration structure is loaded to prepare for subsequent ray intersection calculations. For each inspection image, two modes are used to construct the camera imaging geometry model: when metadata is complete, the camera intrinsic matrix is directly calculated using the metadata, factory-calibrated lens distortion parameters are imported, and the camera extrinsic rotation matrix, translation vector, and 3D coordinates of the camera's optical center are calculated based on the positioning and attitude data. For historical inspection images without positioning and attitude data, 2D building features are automatically extracted and matched with corresponding 3D features in the 3D model to form 2D-3D matching point pairs. After removing outliers, the optimal camera extrinsic parameters R and t are solved using the PnP algorithm. The optimization objective is to minimize the reprojection error of all interior points, expressed as: , where p i Let be the i-th 2D image feature point (pixel coordinates on the inspection image) corresponding to the photo, Project(·) be the mapping function of the 3D point projected onto the image plane via the camera model, K be the camera intrinsic parameter matrix, including inherent camera parameters such as focal length and image principal point, Xi be the i-th corresponding 3D spatial feature point (coordinates in the 3D aerial survey model coordinate system), R be the camera rotation matrix (one of the camera extrinsic parameters, representing the attitude rotation relationship), and t be the camera translation vector (one of the camera extrinsic parameters, representing the spatial position offset). After solving, a complete camera imaging geometry model with pose confidence is output, which fully represents the inherent imaging relationship between the shooting equipment and the inspection image. Subsequently, defect pixel distortion correction processing is carried out. The defect geometry information output by AI recognition or manual annotation is read in, which is compatible with four types of defect expression forms: rectangular defect box, polygonal defect contour, crack curve, and defect center point. All key pixel coordinates p, such as defect center point, rectangle corners, and contour sampling points, are extracted. The distortion correction is completed by calling the built-in distortion parameter D of the camera model to eliminate the pixel offset caused by the radial and tangential distortion of the lens, and the corrected pixel coordinates are obtained. The expression can be: .
[0031] For each corrected pixel, a spatial ray is constructed through back projection: First, the camera intrinsic parameter matrix is inverted to normalize the pixel coordinates to the camera coordinate system, satisfying the following conditions: This yields the normalized planar direction vector; the direction vector is then transformed to the 3D model coordinate system using the camera rotation matrix to obtain the ray direction. Using the camera's optical center C as the starting point of the ray, and combining it with the direction vector, establish the equation for the spatial ray: ,in The ray depth parameter represents the spatial distance from the point to the camera's optical center. Based on a pre-constructed BVH spatial acceleration structure, the intersection relationship between the ray and the triangular facets of the 3D model is quickly retrieved, and the effective intersection point between the ray and the model surface is solved. This intersection point is the 3D spatial anchor point corresponding to the defect. The output 3D spatial anchor point serves as a unified intermediate benchmark for the coordinate conversion of defects in three media: inspection images, 3D aerial survey models, and 2D planar base maps. Furthermore, camera model parameters, corrected defect pixel coordinates, spatial ray parameters, and 3D spatial anchor points are all bound and stored with the corresponding inspection image identifiers, and are interconnected with subsequent 2D / 3D bidirectional calibration parameters and defect identifier data, ensuring the integrity and consistency of the entire cross-media defect mapping data link.
[0032] It is important to note that a differentiated mapping strategy can be adopted for different defect types: For rectangular defect boxes, the center point and four vertices are back-projected and intersected to obtain five sets of anchor points representing the three-dimensional region of the defect; for polygonal and crack contours, the key points of the contour are uniformly sampled, and a three-dimensional contour point set is generated by point-by-point calculation. If a small number of sampled points fail to intersect, the points are filled by interpolation on the model surface based on the surrounding effective anchor points; for point defects, only the center point is intersected to generate a single three-dimensional anchor point; after the intersection point is solved, the anchor point confidence is calculated by comprehensively considering four indicators: camera pose error, ray intersection effectiveness, whether the defect region is within the camera's view frustum range, and the reasonableness of the distance between adjacent anchor points. Defects with a confidence score lower than the threshold are automatically marked and prompted for manual review.
[0033] In step S30, please refer to Figure 1 Step S30 determines the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the geometric features within the two-dimensional planar base map and the three-dimensional aerial survey model.
[0034] As an example, image preprocessing is performed on a two-dimensional planar base map, and geometric features are extracted from the processed two-dimensional planar base map; Multi-view projection rendering of the 3D aerial survey model is performed, and geometric features of the same type as the 2D planar base map are extracted from the rendering results. Perform matching operations on all extracted geometric features and remove outlier feature points to obtain effective feature control points; The bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface is determined based on effective feature control points; the bidirectional coordinate transformation relationship is used to realize the mutual conversion between the coordinates of the two-dimensional page and the coordinates of the three-dimensional surface.
[0035] As an example, at least one of the global homography transformation model, the local piecewise transformation model, and the multi-scale weighted fusion transformation model is selected to determine the bidirectional coordinate transformation relationship; The execution method of the local patch transformation model includes: dividing the three-dimensional aerial survey model into multiple independent surface patches, solving the local mapping parameters independently based on the control points within the surface patch, and then splicing the sampling points across the defect contour with the mapping parameters of their respective surface patches to form a complete two-dimensional defect contour.
[0036] Specifically, the first step is to extract features from the two-dimensional files: load the two-dimensional planar base map page by page, and perform image preprocessing operations such as grayscale conversion, binarization, denoising, and edge enhancement in sequence to eliminate interference from base map scanning noise, watermarks, and creases; extract structured features such as floor boundaries, window pane corners, curtain wall grid intersections, building outlines, and component boundary points based on line detection and corner detection algorithms; perform grid clustering for repeated window panes and regular curtain wall arrays to identify periodic regular structures and generate a two-dimensional feature set carrying four types of attributes: type, coordinates, feature descriptors, and confidence level. Subsequently, 3D model feature extraction was carried out: the original geometric features of facade outline, sharp edges, window frame edges, and curtain wall joint lines were directly extracted based on the 3D mesh geometric information; a 2D rendering image was obtained by projecting the 3D aerial survey model from a perspective that matches the 2D planar base map; corner points, line segments, and mesh features of the same type as those in the 2D planar base map were extracted from the rendering image; the correspondence between each projected 2D feature and its corresponding original 3D spatial features was established; and a 3D feature set containing six attributes, including feature type, 3D coordinates, projected 2D coordinates, descriptor, surface normal vector, and confidence level, was generated.
[0037] After feature extraction, robust feature matching and outlier removal are performed: initial matching of 2D planar base map features and 3D projection features is conducted from three dimensions: feature type matching, feature descriptor similarity, and geometric topological consistency, generating a set of candidate control point pairs; the RANSAC algorithm is used to remove mismatched outliers, and the process is repeated cyclically: the smallest subset of control points is randomly selected to solve the candidate mapping model, and the reprojection error of all control points is calculated. The expressions for calculating the single-point reprojection error and the average reprojection error can be: , , where e i For single-point reprojection error, ProjectToDrawing() is the function for projecting 3D coordinates onto a 2D drawing plane, d i The actual page coordinates of the two-dimensional control points, m iLet E be the two-dimensional coordinates of the three-dimensional control points after being converted by the mapping model, and let N be the average reprojection error of all control points. Points with errors below the threshold are marked as inliers. The candidate model with the most inliers and the best overall error is selected through multiple iterations. The mapping parameters are re-optimized using all inliers, and a robust set of control point pairs is output.
[0038] It is worth noting that, in order to remove the constraint of the traditional calibration algorithm on the order of manual control point selection, the algorithm can be set to automatically perform topological sorting of control points and calculate the centroid of the entire set of control points. Solve for the polar angle of each control point relative to the centroid. The control points are arranged in ascending order of polar angle to obtain the geometric order of the surrounding area. Anomalies such as point self-intersection, duplicate points, and reversed surrounding direction are detected and corrected simultaneously. The topological consistency of the two-dimensional and three-dimensional control points is verified respectively, and the problem of disordered matching order is automatically corrected. There is no need for manual labeling of control points in a fixed order throughout the entire process.
[0039] Furthermore, based on the building facade morphology, an adaptive calibration model is selected to solve the bidirectional coordinate transformation relationship: Scene A is a planar facade scene, using global homography calibration; for the approximately flat facades of residential and office buildings, the 3D control points are projected onto the local plane coordinate system of the facade to obtain the 2D local coordinates; using no less than four sets of control point pairs, a 3×3 homography matrix H is solved to establish the mapping relationship between the 2D page coordinates and the 3D local plane coordinates. ;(u d v d (x) represents the two-dimensional page coordinates. m y m () represents the local planar coordinates in 3D, and s is the homogeneous coordinate scale factor; the inverse transformation from 3D to 2D is achieved directly by inverting the homography matrix H. Scene B is a curved, folded, and inclined scene, and local patch calibration is enabled; when the average reprojection error of the global homography model exceeds the threshold, the 3D model is divided into several independent surface patches based on the model curvature and facade orientation; each surface patch independently solves the local mapping matrix H based on the control points within the patch area. i When converting 3D anchor points for defects, the corresponding surface patch is first determined, and the coordinate transformation is performed by calling the corresponding local mapping matrix. The defect contour across surface patches is then mapped point by point and stitched together to form a continuous and complete contour. Scenario C addresses local deformation scenarios in drawings by using a multi-scale weighted fusion transformation model. Multiple local regions are divided based on the distribution of control points, and the local transformation parameters are solved independently for each region. Defect points located at the region boundaries are fused using distance-weighted fusion of the mapping results from multiple regions. The expression can be: The weight calculation expression can be: ; where d defect The final two-dimensional page coordinates of the defect point; w is the region transformation weight; T(·) is the single-region coordinate transformation function; Xdefect is the 3D spatial anchor point of the defect; distance(·) is a spatial distance calculation function; R is the range of the local transformation region; is a very small constant to prevent the denominator from being zero. The closer the point is to the region R, the higher the corresponding weight w, realizing the adaptive compensation of local deformation error.
[0040] A three-level judgment criterion is divided according to the average reprojection error E: E<T1, the calibration is highly confident and effective, and is directly used for automatic defect mapping; T1<E<T2, the confidence is low, the mapping result is added with a warning mark, and manual review is recommended; E>T2, the calibration is judged to be failed, and a remedial strategy is automatically executed, that is, switching multiple sets of projection angles to re-extract features, expanding the feature matching range, prompting the operator to supplement manual control points, and automatically switching to the local tile mapping mode. The entire set of calibration parameters is stored in a structured manner. The parameter structure includes a calibration ID, associated drawing page identifier, 3D model ID, control point pair set, calibration model type, global / local mapping matrix, model applicable space region, average reprojection error, and calibration confidence, forming a reusable and traceable bidirectional coordinate conversion relationship.
[0041] In step S40, please refer to Figure 1 In step S40, taking the 3D spatial anchor point as the intermediate reference, the defect coordinate conversion is performed in combination with the bidirectional coordinate conversion relationship to generate a unified coordinate bound to the same defect identifier.
[0042] As an example, the 3D spatial anchor point is substituted into the bidirectional coordinate conversion relationship to perform forward conversion, and the page coordinates of the defect in the 2D planar base map are obtained; a defect marking point in the 2D planar base map is generated based on the page coordinates; Reverse conversion is performed according to the bidirectional coordinate conversion relationship, and the defect marking point is mapped to the 3D aerial survey model to obtain the 3D spatial anchor point coordinates; The 3D spatial anchor point is projected to the corresponding inspection image plane based on the camera imaging geometric model to obtain the pixel coordinates of the inspection image; The pixel coordinates of the inspection image, the 3D spatial anchor point coordinates, and the 2D page coordinates are bound to the same defect identifier to generate unified coordinates.
[0043] Specifically, firstly, a forward coordinate transformation is performed, reading the 3D spatial anchor points of the defect and retrieving the bidirectional coordinate transformation relationship. Based on the region where the anchor points are located, a global homography transformation model, a local patch transformation model, or a multi-scale weighted fusion transformation model is automatically matched to forward transform the 3D spatial anchor points to obtain the 2D planar base map page coordinates corresponding to the defect. For various types of defects such as rectangular defect boxes, polygonal contours, and crack curves, the defect center point or contour centroid is used as the main reference point for cross-media label alignment and rapid positioning. At the same time, forward transformation is performed on all contour sampling points in sequence, and the contour points across surface patches are matched with corresponding local mapping parameters. After the transformation is completed, the contours are spliced together according to the original topological order to form a continuous and complete 2D defect contour. Based on the 2D page coordinates, the corresponding defect mark points and the highlighted boundaries of the defect area are generated on the drawing layer. Simultaneously, it supports a reverse conversion link, receiving newly marked defect markers on a 2D planar base map, invoking bidirectional coordinate transformation relationships to perform reverse solving, mapping the 2D page coordinates to the surface of a 3D aerial survey model, and obtaining the corresponding 3D spatial anchor point coordinates. Then, it loads the camera imaging geometry model, substitutes the 3D spatial anchor point into the camera model to perform 3D point projection calculations, projects the 3D spatial anchor point onto the corresponding inspection image plane, and solves for the pixel coordinates of the defect on the corresponding inspection image. For each defect, it aggregates the three types of location information obtained from the calculations: inspection image pixel coordinates, 3D spatial anchor point coordinates, and 2D page coordinates, assigns a unique defect identifier, and associates and binds the three sets of coordinates with the defect identifier to form unified coordinate data. The 3D spatial anchor point and 2D page coordinates both use the defect center point or contour centroid as the primary spatial reference, while simultaneously saving the mapped geometric set of complete contour sampling points. The reference point and geometric set are stored together through the same defect identifier. For contour-type defects containing multiple sampling points, all three sets of coordinates corresponding to all sampling points belong to the same defect identifier management, ensuring that the defect contour has a consistent identity index across the three media.
[0044] In step S50, please refer to Figure 1 The S50 step generates a unified mapping result of building defects with bidirectional calibration based on the defect identifier and associated defect coordinates.
[0045] As an example, the pixel coordinates of the inspection image, the coordinates of the 3D spatial anchor point, and the coordinates of the 2D page bound to the same defect identifier are synchronously associated with the inspection image, the 3D aerial survey model, and the 2D planar base map, and the defect label is rendered. Receive defect click operations from any medium and retrieve all associated coordinate information based on the defect identifier; By integrating multi-media coordinate association information, a unified mapping result of building defects with bidirectional calibration is generated.
[0046] Specifically, based on a unique defect identifier, the system enables synchronized rendering and interactive display of defect data across three media types. The rendering layer uniformly calls the multi-media coordinate parameters corresponding to the same defect identifier, allowing for simultaneous rendering of defect labels in photo viewers, 3D model browsers, and 2D base map viewers. For contour-type defects, the rendering layer simultaneously loads a reference point label and the defect area contour boundary. The reference point is used for quick location and click interaction, while the contour boundary is used for the complete visualization of the defect morphology. The system uniformly matches label styles, risk level color schemes, and annotation content for the same defect, ensuring consistency and standardization in multi-media defect display. Simultaneously, a cross-media interactive mechanism is established, monitoring defect clicks and selections on any media in real time. When a user clicks on a defect label for any media, the system uses the defect's unique identifier as a global primary key index to quickly retrieve the corresponding full-scale structured data. It automatically jumps to and locates the corresponding defect locations in the other two media types, centrally displaying complete operational information such as the original defect image information, 3D spatial location, 2D base map location, defect category, risk level, and quantified geometric parameters. This enables one-click multi-media linkage, two-way traceability, and synchronous verification.
[0047] As an example, the comprehensive confidence index is calculated based on the matching residuals of the inspection image pixel coordinates, three-dimensional spatial anchor point coordinates, and two-dimensional page coordinates bound to the same defect identifier. The review level is divided according to the comprehensive confidence index of the mapping, and a downgrade correction path of manually supplemented control points is provided for the mapping results of low review level.
[0048] Specifically, to quantify the reliability of multi-media mapping results and achieve end-to-end quality control and adaptive anomaly repair, the system employs a multi-dimensional weighted fusion method to calculate the comprehensive confidence level of the mapping results. The calculation expression can be: Among them, C camera For the camera pose confidence, C calib For two-dimensional and three-dimensional calibration confidence levels, C surface To calculate the intersection confidence score for the model surface, C featureFor feature matching confidence, w1~w4 are weight coefficients, and the sum of all weight coefficients is 1, which can be adaptively fine-tuned according to the architectural scene. Multiple review levels are divided based on the comprehensive confidence value, and a complete full-scene anomaly degradation handling mechanism is established for different abnormal scenarios, realizing a fault-tolerant strategy that combines automated error correction with manual fallback: For scenarios with missing camera parameters, the PnP algorithm combined with feature matching is used first to automatically solve the camera pose parameters. If the confidence of the solution result is low, the operator is automatically prompted to manually add 3 or more effective control points, and the camera pose parameters are iteratively optimized again; For scenarios with insufficient feature matching, sparse facades, and repetitive textures, the multi-view projection strategy is automatically switched, the matching threshold is appropriately relaxed, and line segment and contour feature matching dimensions are added to increase the number of matching points. If the matching effect is still unsatisfactory after automatic optimization... If the problem persists, a manual fallback mode is activated, where operators supplement a small number of precise control points. Local precise mapping is performed only on the effective area covered by the control points to avoid global misfitting. For scenarios involving failed ray intersections, occluded points, or edge defects, the ray search range is automatically expanded, and the point position is corrected using the nearest face distance projection compensation method. If the defect cannot be effectively solved, it is automatically marked as pending review to avoid outputting incorrect mapping coordinates. For scenarios involving defects that exceed the drawing boundaries or cross drawing pages, adjacent candidate drawing pages are automatically searched and matched, and the calibration coverage is dynamically expanded. At the same time, the user is prompted to supplement the calibration relationship between drawing pages to complete the continuous mapping matching of cross-page defects.
[0049] Furthermore, all the comprehensive confidence scores, confidence parameters for each dimension, anomaly types, downgrade handling methods, and manual correction records of all defects can be bound and archived with a unique defect identifier to form a complete defect mapping quality ledger. This ensures that each defect mapping result is quantifiable, ratingable, traceable, and correctable. Differentiated output strategies are implemented based on different review levels. High-confidence defects are directly included in the final two-way calibration unified mapping results, while low-confidence and abnormal defects are automatically repaired or manually reviewed before being entered into the database. This effectively solves the mapping failure problem under complex working conditions such as missing parameters, sparse features, model occlusion, and exceeding drawing boundary limits, significantly improving the scenario adaptability and operational robustness of the entire multi-media defect unified mapping system.
[0050] In another implementation, please refer to Figure 2This application also provides a two-way calibration building defect mapping system; the system includes a data acquisition module 10, an anchor point generation module 20, a two-way calibration solution module 30, a coordinate unification conversion module 40, and a mapping result generation module 50; wherein, the data acquisition module 10 is used to acquire inspection images, two-dimensional plan base maps, and three-dimensional aerial survey models of the building to be tested; the anchor point generation module 20 is used to construct a camera imaging geometric model based on the inspection images, and to back-project the defect pixels inside the inspection images through the camera imaging geometric model to obtain spatial rays; the spatial rays are intersected with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points; the two-way calibration solution module 30 is used to extract geometric features in the two-dimensional plan base map and the three-dimensional aerial survey model respectively, and to determine the two-way coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the extracted geometric features; the coordinate unification conversion module 40 is used to convert defect coordinates based on the three-dimensional spatial anchor points as intermediate references and in combination with the two-way coordinate transformation relationship to generate unified coordinates bound to the same defect identifier; the mapping result generation module 50 is used to associate defect coordinates based on defect identifiers to generate a unified mapping result of building defects after two-way calibration.
[0051] Based on the same inventive concept, embodiments of the present invention also provide a computer-readable storage medium storing computer program instructions, which, when read and executed by a processor, perform the steps in any of the above implementations.
[0052] The above description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. For those skilled in the art, the present invention can have various modifications and variations. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A bidirectional calibration method for mapping building defects, characterized in that, include: Acquire inspection images, two-dimensional floor plans, and three-dimensional aerial survey models of the building to be measured; Based on the inspection images, a camera imaging geometric model is constructed. The defective pixels inside the inspection images are back-projected using the camera imaging geometric model to obtain spatial rays. The intersection of the spatial rays and the three-dimensional aerial survey model is then obtained to obtain three-dimensional spatial anchor points. Based on the geometric features within the two-dimensional planar base map and the three-dimensional aerial survey model, the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface is determined. Using the three-dimensional spatial anchor point as an intermediate reference, and combining the bidirectional coordinate transformation relationship, defect coordinates are converted to generate unified coordinates bound to the same defect identifier; Based on the defect identifier and associated defect coordinates, a unified mapping result of building defects with bidirectional calibration is generated.
2. The method according to claim 1, characterized in that, The camera imaging geometric model is constructed based on the inspection image, and the spatial ray is obtained by back-projecting the defective pixels inside the inspection image through the camera imaging geometric model. The intersection of the spatial ray and the three-dimensional aerial survey model yields the three-dimensional spatial anchor points, including: Read and parse the metadata of the inspection images to obtain the basic imaging parameters of the camera in order to build the camera imaging geometric model; Distortion correction is performed on defective pixels within the inspection image; based on the camera imaging geometry model, the distortion-corrected defective pixels are back-projected to generate spatial rays; The spatial rays are imported into a three-dimensional aerial survey model for intersection calculation, and three-dimensional spatial anchor points are output. The camera imaging geometric model is used to characterize the inherent imaging relationship between the shooting device and the inspection image.
3. The method according to claim 2, characterized in that, The process of reading and parsing the metadata inherent in the inspection images to obtain the basic imaging parameters of the camera in order to construct the camera imaging geometric model includes: Read camera intrinsic parameters, lens distortion parameters, and device pose extrinsic parameters from the inspection image metadata; If the inspection image metadata does not store the device pose extrinsic parameters, then the feature points of the inspection image and the 3D aerial survey model are matched, and the device pose extrinsic parameters are estimated by the pose solving algorithm. By integrating camera intrinsic parameters, lens distortion parameters, and device pose extrinsic parameters, a camera imaging geometric model is constructed.
4. The method according to claim 1, characterized in that, The determination of the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the geometric features within the two-dimensional planar base map and the three-dimensional aerial survey model includes: Image preprocessing is performed on the two-dimensional planar base map, and geometric features are extracted from the processed two-dimensional planar base map; Multi-view projection rendering of the 3D aerial survey model is performed, and geometric features of the same type as the 2D planar base map are extracted from the rendering results. Perform matching operations on all extracted geometric features and remove outlier feature points to obtain effective feature control points; The bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface is determined based on the effective feature control points; wherein, the bidirectional coordinate transformation relationship is used to realize the mutual conversion between the coordinates of the two-dimensional page and the coordinates of the three-dimensional surface.
5. The method according to claim 1, characterized in that, in, Choose at least one of the global homography transformation model, the local piecewise transformation model, and the multi-scale weighted fusion transformation model to determine the bidirectional coordinate transformation relationship; The execution method of the local patch transformation model includes: dividing the three-dimensional aerial survey model into multiple independent surface patches, solving the local mapping parameters independently based on the control points within the surface patch, and then matching the mapping parameters of the surface patches to the sampling points across the defect contour to form a complete two-dimensional defect contour.
6. The method according to claim 1, characterized in that, The process of using the three-dimensional spatial anchor point as an intermediate reference and combining the bidirectional coordinate transformation relationship to perform defect coordinate conversion and generate unified coordinates bound to the same defect identifier includes: Substitute the three-dimensional spatial anchor points into the bidirectional coordinate transformation relationship to perform a forward conversion, and obtain the page coordinates of the defect in the two-dimensional plane base map; generate defect marker points in the two-dimensional plane base map based on the page coordinates; Based on the bidirectional coordinate transformation relationship, a reverse conversion is performed to map the defect marker points to the three-dimensional aerial survey model to obtain the three-dimensional spatial anchor point coordinates. Based on the camera imaging geometric model, the three-dimensional spatial anchor point is projected onto the corresponding inspection image plane to obtain the pixel coordinates of the inspection image. The inspection image pixel coordinates, three-dimensional spatial anchor point coordinates, and two-dimensional page coordinates are bound to the same defect identifier to generate unified coordinates.
7. The method according to claim 1, characterized in that, The process of generating a unified mapping result for building defects based on the defect identifier and associated defect coordinates includes: Synchronously associate the pixel coordinates, 3D spatial anchor point coordinates, and 2D page coordinates of the inspection image bound to the same defect identifier with the inspection image, 3D aerial survey model, and 2D planar base map, and render the defect label. Receive defect click operations from any medium, and retrieve all associated coordinate information based on the defect identifier; By integrating multi-media coordinate association information, a unified mapping result of building defects with bidirectional calibration is generated.
8. The method according to claim 1, characterized in that, Also includes: The comprehensive confidence index is calculated based on the matching residuals of the inspection image pixel coordinates, three-dimensional spatial anchor point coordinates, and two-dimensional page coordinates bound to the same defect identifier. The review level is divided according to the comprehensive confidence index of the mapping, and a downgrade correction path with manually supplemented control points is provided for the mapping results of low review level.
9. A bidirectional calibration building defect mapping system, characterized in that, include: The data acquisition module is used to acquire inspection images, two-dimensional plan base maps, and three-dimensional aerial survey models of the exterior facade of the building to be measured. An anchor point generation module is used to construct a camera imaging geometric model based on the inspection image, and to back-project the defect pixels inside the inspection image through the camera imaging geometric model to obtain spatial rays; the spatial rays are intersected with the three-dimensional aerial survey model to obtain three-dimensional spatial anchor points. The bidirectional calibration and solution module is used to extract geometric features from the two-dimensional planar base map and the three-dimensional aerial survey model, respectively, and to determine the bidirectional coordinate transformation relationship between the two-dimensional page and the three-dimensional surface based on the extracted geometric features; The coordinate unification conversion module is used to convert defect coordinates using the three-dimensional space anchor point as an intermediate reference and in combination with the two-way coordinate transformation relationship, and generate unified coordinates bound to the same defect identifier. The mapping result generation module is used to generate a unified mapping result of building defects with bidirectional calibration based on the defect identifier and associated defect coordinates.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer program instructions that, when executed by a processor, perform the steps of the method according to any one of claims 1-8.
