Grid boundary point precision self-correction method and system based on error field modeling
By constructing a continuous error field and evaluating the reliability of boundary point correction, adaptive correction of mesh boundary points is achieved, solving the problems of boundary point position offset and poor structural continuity in 3D scanning and mesh reconstruction, and improving the accuracy and structural continuity of the boundary region.
Patent Information
- Application Number
- CN202611637663.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-27
Smart Images

Figure CN123181523A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of 3D scanning and mesh reconstruction technology, and in particular to a method and system for self-correction of mesh boundary point accuracy based on error field modeling. Background Technology
[0002] In the field of 3D scanning and mesh reconstruction technology, 3D scanning systems based on laser line structured light or binocular vision can reliably acquire overall point cloud data of object surfaces and generate 3D mesh models. However, in mesh boundary regions, including structural edges, opening boundaries, and areas of abrupt curvature changes, there are common accuracy defects such as significant boundary point position offsets, local data sparsity, and poor structural continuity. These defects mainly stem from the combined effects of factors such as laser incident angles exceeding reasonable ranges during scanning, high material reflectivity, sensor noise interference, and cumulative errors from multi-view stitching. Existing technologies often employ local smoothing methods based on point clouds or meshes to suppress boundary noise, or use fitting optimization methods based on specific geometric features (such as holes, circles, etc.) to handle regular boundaries, and reconstruction optimization methods based on multi-view geometry to improve overall consistency. However, these methods only make local adjustments to the geometric structure itself and fail to establish a global distribution model of boundary point errors in 3D space, lacking explicit expression of the continuity, spatial correlation, and multi-source error characteristics of the error field. Therefore, existing methods often lead to inconsistent boundary point corrections, a disconnect between local optimization and global structure, and even the introduction of new geometric distortions when dealing with complex surfaces and diverse boundary types. In particular, when there are different error sources such as systematic offsets, random fluctuations, or geometric degradation in the boundary region, existing techniques struggle to effectively distinguish error components and apply targeted corrections. This results in a lack of spatial continuity constraints and adaptive capabilities in the optimization process, making it impossible to achieve a uniform improvement in boundary point accuracy.
[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this application is to provide a self-correction method and system for the accuracy of grid boundary points based on error field modeling, which aims to correct the positional deviation of grid boundary points and improve the accuracy and structural continuity of the boundary region.
[0005] To achieve the above objectives, this application proposes a mesh boundary point accuracy self-correction method based on error field modeling, the method comprising: Acquire two-dimensional image data and a three-dimensional mesh model of the target object; wherein the two-dimensional image data and the three-dimensional mesh model are acquired based on the same target object; Two-dimensional boundary points are extracted from the two-dimensional image data, three-dimensional mesh boundary points are extracted from the three-dimensional mesh model, and the two-dimensional boundary points are matched with the three-dimensional mesh boundary points through projection association to obtain associated boundary point pairs; Based on the projection deviation between the two-dimensional boundary points and the three-dimensional mesh boundary points in the associated boundary point pair, the error vector of each three-dimensional mesh boundary point is calculated. Based on the error vectors of each 3D mesh boundary point and their positions in 3D space, a continuous error field covering the 3D spatial region is constructed; wherein, the continuous error field characterizes the continuous distribution of the error vectors in 3D space; For each 3D mesh boundary point, the reliability of the position correction of the 3D mesh boundary point is evaluated based on the field characteristics of the continuous error field at the corresponding spatial location. For a three-dimensional mesh boundary point whose credibility meets the preset conditions, the error field value of the corresponding spatial position is obtained from the continuous error field, and the three-dimensional position of the three-dimensional mesh boundary point is corrected according to the direction and amplitude of the error field value.
[0006] In one embodiment, the steps of extracting two-dimensional boundary points from the two-dimensional image data, extracting three-dimensional mesh boundary points from the three-dimensional mesh model, and matching the two-dimensional boundary points with the three-dimensional mesh boundary points through projection association to obtain associated boundary point pairs include: Two-dimensional boundary points are extracted from multi-frame, multi-view two-dimensional image data; Cross-validation is performed on the two-dimensional boundary points extracted from different perspectives. Two-dimensional boundary points detected only in a single perspective are removed, while two-dimensional boundary points detected in multiple perspectives are retained. Extract the three-dimensional mesh boundary points located at the mesh topological boundaries and curvature variation regions from the three-dimensional mesh model; The 3D mesh boundary points are projected onto the 2D image plane using a camera projection model, and a preliminary correspondence between the 2D boundary points and the 3D mesh boundary points is established after cross-validation. The preliminary correspondence is checked for neighborhood consistency. The edge direction of the two-dimensional boundary point in the neighborhood of the projection point is checked to see if it is consistent with the geometric direction of the corresponding three-dimensional mesh boundary point. Mismatches with inconsistent directions are eliminated. Spatial topology verification is performed on the correspondence that has passed the neighborhood consistency check to detect whether the topological proximity of the associated pairs remains continuous in three-dimensional space, eliminate skip-type false associations, and obtain the associated boundary point pairs.
[0007] In one embodiment, the step of calculating the error vector of each three-dimensional mesh boundary point based on the projection deviation between the two-dimensional boundary points and the three-dimensional mesh boundary points in the associated boundary point pair includes: For each pair of associated boundary points, calculate the two-dimensional deviation between the actual position of the two-dimensional boundary point in the image plane and the projected position of the corresponding three-dimensional mesh boundary point. The two-dimensional deviation is transformed into three-dimensional space through back projection transformation to obtain the initial error vector of the three-dimensional mesh boundary points; The initial error vector is decomposed into source components, random fluctuation components, and geometric degradation components. The systematic offset component represents the trend offset caused by scanning system calibration error and splicing cumulative error. The random fluctuation component represents the irregular fluctuation caused by sensor noise and environmental interference. The geometric degradation component represents the boundary point shrinkage effect caused by the laser incident angle at the boundary exceeding the preset angle range or the high reflectivity of the material. Attribute information is added to the error vector; wherein the attribute information includes: an error source type label determined according to the proportion of the systematic offset component, the random fluctuation component and the geometric degradation component in the error vector, a sharpness index of the associated image boundary, the point density of the neighborhood of the boundary point, and the angle between the normal vector of the boundary point and the scanning line of sight.
[0008] In one embodiment, the step of constructing a continuous error field covering a three-dimensional spatial region based on the error vectors of each three-dimensional mesh boundary point and their positions in three-dimensional space includes: A global trend error field is constructed based on the error vectors and spatial locations of all 3D mesh boundary points. The global trend error field characterizes the low-frequency change trend of the error vectors in 3D space and satisfies the global smoothness constraint, so that the error vectors at adjacent spatial locations change continuously and smoothly. For each 3D mesh boundary point, calculate the residual vector between its error vector and the predicted value of the global trend error field at the spatial location of that boundary point. Based on the residual vectors and spatial locations of each 3D mesh boundary point, a local residual error field is constructed; wherein, the local residual error field represents the high-frequency local detail error after removing the global trend, and the allowable range of the gradient of the local residual error field is positively correlated with the degree of curvature change of the spatial region; The global trend error field and the local residual error field are fused to obtain the continuous error field.
[0009] In one embodiment, when constructing the global trend error field and the local residual error field, the correlation between spatial locations is determined by a generalized distance; the generalized distance integrates at least two of the following: Euclidean spatial distance, normal vector deviation, curvature difference, and color texture difference; wherein, at discontinuities in the object structure, the generalized distance is increased to block the error propagation between different geometric surfaces; The step of fusing the global trend error field with the local residual error field to obtain the continuous error field includes: For each spatial region in three-dimensional space, the local reliability level of the spatial region is determined based on the boundary point density and error consistency of the spatial region. Based on the local reliability level, the weight ratio of the global trend error field and the local residual error field in the spatial region is adaptively determined; wherein, the higher the local reliability level of the spatial region, the greater the weight of the local residual error field, and the lower the local reliability level of the spatial region, the greater the weight of the global trend error field. The global trend error field and the local residual error field are weighted and superimposed according to the weight ratio to obtain the continuous error field.
[0010] In one embodiment, the step of evaluating the reliability of the three-dimensional mesh boundary point position correction based on the field characteristics of the continuous error field at the corresponding spatial location includes: For each 3D grid boundary point, a multidimensional reliability index is calculated. This multidimensional reliability index includes: a neighborhood error consistency index, reflecting the consistency of the boundary point's error vector with that of neighboring boundary points in terms of direction and magnitude; an error magnitude stability index, reflecting the fluctuation of the boundary point's error magnitude within its neighborhood; a neighborhood point density index, reflecting the distribution density of neighboring boundary points around the boundary point; an error field gradient consistency index, reflecting the consistency of the gradient direction of the error field at the boundary point with the gradient direction of its neighborhood; and a cross-layer consistency index, reflecting the consistency of the global trend error field with the predicted value of the local residual error field at the boundary point. Based on the multidimensional credibility index, a three-level hierarchical judgment is performed: if all indicators meet the corresponding preset threshold, the three-dimensional grid boundary point is judged as a credible point; if the core indicators meet the corresponding preset threshold but the auxiliary indicators do not meet the threshold, the three-dimensional grid boundary point is judged as a conditionally credible point; if the core indicators do not meet the corresponding preset threshold, the three-dimensional grid boundary point is judged as an untrustworthy point. For 3D mesh boundary points that are determined to be untrustworthy, the reasons for their untrustworthiness are recorded, and the reasons for untrustworthiness are fed back to the error field construction stage to trigger the adjustment of the error field construction parameters of the spatial region where the untrustworthy point is located.
[0011] In one embodiment, for a three-dimensional mesh boundary point whose confidence level meets a preset condition, the step of obtaining the error field value corresponding to the spatial location from the continuous error field and correcting the three-dimensional position of the three-dimensional mesh boundary point according to the direction and magnitude of the error field value includes: For a 3D mesh boundary point determined to be a reliable point, the error field value of the corresponding spatial position of the boundary point is obtained from the continuous error field, and the full position correction is performed on the boundary point according to the direction and magnitude of the error field value. For a 3D mesh boundary point determined as a conditionally credible point, the error field value of the corresponding spatial position of the boundary point is obtained from the continuous error field. The error field value is multiplied by an attenuation factor to obtain a weighted correction amount. Weighted position correction is performed on the boundary point according to the direction and magnitude of the weighted correction amount. The attenuation factor is positively correlated with the credibility score of the conditionally credible point. For 3D mesh boundary points that are determined to be untrusted, no position correction is performed; the original 3D position data of the boundary point is retained and marked as untrusted. Perform local geometric consistency verification on each 3D mesh boundary point after position correction, and check whether the mesh surface formed by the boundary point and the adjacent mesh vertices after correction has been flipped or abnormally stretched. For boundary points with deformation, automatically reduce the correction amount until the geometric continuity constraint is met. The correction uncertainty is recorded for each 3D mesh boundary point after the position correction is performed, and the correction uncertainty is propagated along the mesh topology to adjacent mesh vertices to adjust the fine-tuning amount of the confidence of adjacent mesh vertices, forming a correction uncertainty distribution.
[0012] In one embodiment, the method further includes: For 3D mesh boundary points whose reliability does not meet the preset conditions, they are marked as points to be scanned, and the spatial position of each point to be scanned is recorded. Based on the continuous error field, error prediction extrapolation is performed on the insufficiently scanned spatial region adjacent to each point to be scanned, and a scanned region covering the spatial region where the point to be scanned is located is generated according to the prediction results; wherein, the error prediction extrapolation uses the spatial distribution law of the continuous error field in the scanned region to calculate the estimated error distribution of the insufficiently scanned spatial region. The supplementary scanning area is fed back to the scanning system to guide the scanning system to perform targeted supplementary scanning of the supplementary scanning area and obtain supplementary point cloud data; The supplementary point cloud data is fused with the three-dimensional mesh model, and the incremental update of the continuous error field is triggered based on the supplementary point cloud data, so that the continuous error field incorporates the new error information brought by the supplementary data.
[0013] In one embodiment, triggering the incremental update of the continuous error field based on the supplementary point cloud data includes: Based on the supplementary point cloud data, obtain the error value of the new boundary point of the supplementary area, and calculate the deviation between the error value of the new boundary point and the predicted value of the continuous error field at the corresponding spatial location. The deviation is used to correct and update the corresponding local spatial region in the continuous error field, and the correction uncertainty of the local spatial region is synchronously increased according to the magnitude of the deviation. The changes in the proportion of the points to be scanned and the average correction uncertainty before and after each scan are tracked. When the change is lower than the preset convergence threshold after multiple scans, the scan is determined to have converged and the scan process is automatically terminated.
[0014] Furthermore, to achieve the above objectives, this application also proposes a self-calibration system for mesh boundary point accuracy based on error field modeling. The self-calibration system for mesh boundary point accuracy based on error field modeling includes: a memory, a processor, and a self-calibration program for mesh boundary point accuracy based on error field modeling stored in the memory and executable on the processor. The self-calibration program for mesh boundary point accuracy based on error field modeling is configured to implement the steps of the self-calibration method for mesh boundary point accuracy based on error field modeling.
[0015] The mesh boundary point accuracy self-correction method and system proposed in this application, based on error field modeling, achieves adaptive correction of mesh boundary points by constructing a continuous error field covering a three-dimensional spatial region and evaluating the reliability of boundary point correction. This solves the technical problems of boundary point position offset and poor structural continuity, effectively corrects the position deviation of mesh boundary points, and improves the accuracy and structural continuity of the boundary region. Attached Figure Description
[0016] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart illustrating an embodiment of the mesh boundary point accuracy self-correction method based on error field modeling in this application. Figure 2 For this application Figure 1 A detailed flowchart of step S200; Figure 3 For this application Figure 1 Detailed flowchart of step S300; Figure 4 For this application Figure 1 Detailed flowchart of step S400; Figure 5 For this application Figure 4 Detailed flowchart of step S440; Figure 6 For this application Figure 1 A detailed flowchart of step S500; Figure 7 For this application Figure 1 A detailed flowchart of step S600; Figure 8 This is a flowchart illustrating another embodiment of the mesh boundary point accuracy self-correction method based on error field modeling in this application. Figure 9 This is a schematic diagram of a structure provided for an embodiment of the mesh boundary point accuracy self-correction system based on error field modeling in this application.
[0019] Explanation of icon numbers: 10. Memory; 20. Processor.
[0020] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0021] The technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of this application described and shown in the accompanying drawings can generally 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 this application, but merely represents selected embodiments of this 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.
[0022] It should be understood that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. Furthermore, in the description of this application, the terms "first," "second," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0023] In existing technologies, 3D scanning and mesh reconstruction techniques generally suffer from insufficient accuracy when processing mesh boundary regions, including boundary point position offset, local data sparsity, and poor structural continuity. Existing optimization methods mainly focus on the geometric structure itself, lacking explicit modeling and a unified optimization mechanism for the distribution of boundary point errors in 3D space. This results in limited accuracy optimization effects on mesh boundary points and makes it difficult to adapt to complex surfaces and diverse boundary types.
[0024] Based on this, embodiments of this application provide a self-correction method for the accuracy of mesh boundary points based on error field modeling, referring to... Figure 1 The self-correction method for mesh boundary point accuracy based on error field modeling includes steps S100 to S600, wherein: Step S100: Acquire two-dimensional image data and a three-dimensional mesh model of the target object; wherein the two-dimensional image data and the three-dimensional mesh model are acquired based on the same target object; Step S200: Extract two-dimensional boundary points from the two-dimensional image data, extract three-dimensional mesh boundary points from the three-dimensional mesh model, and match the two-dimensional boundary points with the three-dimensional mesh boundary points through projection association to obtain associated boundary point pairs; Step S300: Based on the projection deviation between the two-dimensional boundary points and the three-dimensional mesh boundary points in the associated boundary point pair, calculate the error vector of each three-dimensional mesh boundary point; Step S400: Based on the error vectors of each three-dimensional mesh boundary point and their positions in three-dimensional space, a continuous error field covering the three-dimensional space region is constructed; wherein, the continuous error field characterizes the continuous distribution of the error vectors in three-dimensional space; Step S500: For each three-dimensional mesh boundary point, the reliability of the position correction of the three-dimensional mesh boundary point is evaluated based on the field characteristics of the continuous error field at the corresponding spatial location. Step S600: For a three-dimensional mesh boundary point whose confidence level meets the preset conditions, obtain the error field value of the corresponding spatial position from the continuous error field, and correct the three-dimensional position of the three-dimensional mesh boundary point according to the direction and amplitude of the error field value.
[0025] In this embodiment, two-dimensional image data refers to a set of planar pixels acquired by optical sensors such as cameras, containing information about the surface texture and contour of the target object. This data provides the foundation for subsequent extraction of two-dimensional boundary points. A three-dimensional mesh model refers to a discrete geometric representation composed of a series of vertices, edges, and faces after scanning the target object using a three-dimensional scanning system. This model is used to characterize the three-dimensional geometry of the target object and extract three-dimensional mesh boundary points from it. Two-dimensional boundary points refer to pixels located on the object's contour or feature edges, identified by edge detection algorithms in the two-dimensional image data. These points reflect the object's projected boundary on the image plane. Three-dimensional mesh boundary points refer to vertices located on geometric edges, regions with significant curvature changes, or topological boundaries in the three-dimensional mesh model. These points are the key objects that need to be focused on and corrected in the three-dimensional model.
[0026] In this embodiment, projection association refers to mapping points in 3D space onto a 2D image plane using a camera projection model, thereby establishing a correspondence between 3D points and 2D image points. This process is fundamental to matching 2D boundary points with 3D mesh boundary points. An associated boundary point pair refers to the set of 2D boundary points and 3D mesh boundary points that have successfully established a correspondence after the projection association and matching process. Each point pair contains one 2D boundary point and its corresponding 3D mesh boundary point. Projection deviation refers to the difference between the position of the 3D mesh boundary point projected onto the 2D image plane by the camera projection model and the actual position of the 2D boundary point on the image plane. This deviation quantifies the inaccuracy of the 3D mesh boundary point on the 2D image.
[0027] In this embodiment, the error vector refers to the vector representing the difference between the actual and ideal positions of the 3D mesh boundary points after the 2D projection deviation is transformed to 3D space through back projection transformation. This vector has direction and magnitude, indicating the direction and distance at which the 3D mesh boundary points should be corrected. The continuous error field refers to a mathematical model constructed in 3D space that characterizes the continuous distribution of the error vector in that space. This error field can predict the error vector at any spatial location, providing global and local error information for the correction of mesh boundary points. Field characteristics refer to the local properties exhibited by the continuous error field at a specific spatial location, such as the direction, magnitude, gradient, and curvature of the error vector. These characteristics are used to evaluate the reliability of the 3D mesh boundary point position correction. Reliability refers to the reliability assessment of the 3D mesh boundary point position correction results. This assessment comprehensively considers factors such as the consistency, stability, and data density of the error field in the local region, and is used to guide subsequent correction operations. The error field value refers to the error vector predicted at a specific spatial location from the continuous error field. This value is directly used to guide the 3D position correction of the 3D mesh boundary points.
[0028] In this embodiment, the mesh boundary point accuracy self-correction method based on error field modeling first acquires two-dimensional image data and a three-dimensional mesh model of the target object. The two-dimensional image data can be obtained by capturing images of the target object from different perspectives using various optical imaging devices, such as digital cameras or industrial cameras. The three-dimensional mesh model can be generated by scanning the target object with a 3D scanner and then performing point cloud processing and meshing steps. It is necessary to ensure that both the two-dimensional image data and the three-dimensional mesh model are acquired from the same target object to guarantee the accuracy of subsequent data association. For example, during data acquisition, the target object can be uniquely identified, or data matching can be performed using information such as timestamps and spatial locations.
[0029] Further, two-dimensional boundary points are extracted from the acquired two-dimensional image data. This extraction process can utilize classic edge detection algorithms, such as the Canny operator or the Sobel operator, to identify pixels in the image with significant changes in brightness or color gradient as two-dimensional boundary points. Simultaneously, three-dimensional mesh boundary points are extracted from the three-dimensional mesh model. This extraction can be based on the mesh topology, for example, identifying vertices connected to only one or two mesh faces, or by calculating the curvature around the vertices and identifying vertices with curvature values exceeding a preset threshold as boundary points. Subsequently, these two-dimensional boundary points are matched with the three-dimensional mesh boundary points through projection association. Specifically, using a known camera projection model, the three-dimensional mesh boundary points are projected onto the two-dimensional image plane, and the nearest two-dimensional boundary points are searched within the neighborhood of the projected points to establish a preliminary correspondence, thereby obtaining associated boundary point pairs.
[0030] In this embodiment, based on the obtained associated boundary point pairs, the error vector of each 3D mesh boundary point is calculated. Specifically, for each associated boundary point pair, the two-dimensional deviation between the actual position of the 2D boundary point in the image plane and the projected position of the corresponding 3D mesh boundary point is first calculated. This two-dimensional deviation quantifies the inaccuracy of the 3D mesh boundary point in the 2D image. Subsequently, this two-dimensional deviation is transformed to 3D space through a back-projection transformation, thereby obtaining the initial error vector of the 3D mesh boundary point. This error vector has direction and magnitude, indicating the direction and distance that the 3D mesh boundary point needs to be corrected in 3D space.
[0031] Based on this, a continuous error field covering the three-dimensional spatial region is constructed using the error vectors of each 3D mesh boundary point and their positions in 3D space. This continuous error field characterizes the continuous distribution of error vectors in 3D space. Various spatial interpolation or regression techniques can be employed for construction, such as radial basis function (RBF) interpolation, Kriging interpolation, or Gaussian process regression. These methods utilize discrete error vector data to establish a mathematical model to predict the error vector at any location in 3D space. During the construction process, smoothing constraints can be introduced to ensure that the error field changes continuously and gradually in space, thus better reflecting the overall distribution trend of the error.
[0032] In this embodiment, for each 3D mesh boundary point, the reliability of the 3D mesh boundary point position correction is evaluated based on the field characteristics of the continuous error field at the corresponding spatial location. This evaluation can comprehensively consider multiple field characteristics, such as the magnitude and direction of the error vector at the boundary point, as well as the average magnitude and direction of the error field in its neighborhood. As a preferred implementation, the reliability can be quantified into a numerical value. For example, if the error magnitude at the boundary point is small and the error vector directions in its neighborhood are relatively consistent, a higher reliability is assigned. Conversely, if the error magnitude is large, or the error vector directions in the neighborhood are chaotic, a lower reliability is assigned. This reliability value is used to guide subsequent correction operations.
[0033] In this embodiment, for 3D mesh boundary points whose confidence level meets a preset condition, the error field value corresponding to the spatial location is obtained from the continuous error field, and the 3D position of the 3D mesh boundary point is corrected according to the direction and magnitude of the error field value. The preset condition can be a simple threshold; for example, boundary points with a confidence level higher than a certain specific value are considered to meet the condition. For these boundary points that meet the condition, the error field value at their current 3D position is queried from the constructed continuous error field. Subsequently, the error field value is directly superimposed onto the current 3D coordinates of the 3D mesh boundary point, thereby achieving the correction of its 3D position. This correction operation directly utilizes the direction and magnitude of the error field value, ensuring the accuracy and specificity of the correction.
[0034] In this embodiment, by introducing the collaborative processing of two-dimensional image data and a three-dimensional mesh model, a continuous error field covering three-dimensional space is explicitly constructed, thereby overcoming the limitation that the error distribution cannot be expressed functionally in traditional methods. By evaluating the reliability of the position correction of each boundary point, adaptive optimization of the accuracy of the mesh boundary points is achieved, effectively solving the problems of lack of spatial continuity constraints in boundary point correction and insufficient universality of the optimization process in the prior art, and improving the accuracy and structural continuity of the mesh boundary region.
[0035] In one feasible implementation, refer to Figure 2 Step S200 includes steps S210 to S260, wherein: Step S210: Extract two-dimensional boundary points from the multi-frame, multi-view two-dimensional image data respectively; Step S220: Cross-validate the two-dimensional boundary points extracted from different perspectives, remove the two-dimensional boundary points detected only in a single perspective, and retain the two-dimensional boundary points detected in multiple perspectives. Step S230: Extract the three-dimensional mesh boundary points located in the mesh topology boundary and curvature change region from the three-dimensional mesh model; Step S240: Project the three-dimensional mesh boundary points onto the two-dimensional image plane using the camera projection model to establish a preliminary correspondence between the two-dimensional boundary points and the three-dimensional mesh boundary points, which has been retained through cross-validation. Step S250: Perform neighborhood consistency verification on the preliminary correspondence, detect whether the edge direction of the two-dimensional boundary point in the neighborhood of the projection point is consistent with the geometric direction of the corresponding three-dimensional mesh boundary point, and eliminate mismatches with inconsistent directions. Step S260: Perform spatial topology verification on the correspondence that has passed the neighborhood consistency check, detect whether the topological proximity of the associated pairs in the three-dimensional space remains continuous, eliminate skip-type false associations, and obtain the associated boundary point pairs.
[0036] In this embodiment, extracting two-dimensional boundary points from multi-frame, multi-view two-dimensional image data refers to using image processing algorithms, such as Canny edge detection, Sobel operator, or deep learning-based edge detection networks, to identify and extract the contours or edge points of objects from images taken at different times or from different angles. The introduction of multi-frame, multi-view data aims to provide richer and more redundant boundary information, laying the foundation for subsequent reliability verification.
[0037] In this embodiment, cross-validation is performed on the 2D boundary points extracted from different viewpoints. 2D boundary points detected only in a single viewpoint are discarded, while those detected in multiple viewpoints are retained, aiming to improve the reliability of the extracted 2D boundary points. This process involves feature matching and geometric transformation of images from different viewpoints, projecting the 2D boundary points from different viewpoints onto a unified reference coordinate system, and then checking whether there are overlapping or close boundary points within a certain neighborhood. If a boundary point is detected in at least two or a preset number of viewpoints, it is considered reliable and retained; otherwise, it is considered noise or a false detection and discarded.
[0038] In this embodiment, extracting 3D mesh boundary points located at mesh topological boundaries and curvature change regions from the 3D mesh model refers to selecting points with geometrically significant characteristics from the 3D mesh model as potential matching targets. Topological boundary points are the vertices that constitute the edges of objects in the mesh model, and can be determined by traversing the edges of the mesh and identifying vertices connected by edges belonging to only one face. Points in curvature change regions represent locations where the object's surface shape changes drastically, such as edges or sharp bends. These can be identified by calculating the discrete curvature (such as Gaussian curvature, mean curvature) of the mesh vertices or the rate of change of the normal vector of their neighborhood, and a curvature threshold is set for filtering.
[0039] In this embodiment, the 3D mesh boundary points are projected onto a 2D image plane using a camera projection model. This establishes a preliminary correspondence between the 2D boundary points and the 3D mesh boundary points, which has been cross-validated. This involves using known camera intrinsic parameters (such as focal length, principal point, and distortion coefficients) and extrinsic parameters (such as rotation matrix and translation vector) to transform the 3D coordinates of the 3D mesh boundary points to 2D image coordinates through perspective projection. Subsequently, within a certain search radius near each projection point, the 2D boundary points that are closest to or most similar in features to that projection point, and which have been cross-validated, are found, thus establishing a preliminary matching pair.
[0040] In this embodiment, a neighborhood consistency check is performed on the preliminary correspondence. This check detects whether the edge direction of the 2D boundary point within the neighborhood of the projected point is consistent with the geometric orientation of the corresponding 3D mesh boundary point, eliminating mismatches with inconsistent directions. This aims to further filter matching pairs from the perspective of local geometric features. For each preliminary matching pair, the edge direction of the 2D boundary point on the image plane is calculated (e.g., through image gradient direction or local edge fitting). Simultaneously, the local geometric orientation of the corresponding 3D mesh boundary point in 3D space is calculated (e.g., through the normal vector or tangent direction of its neighborhood) and projected onto the 2D image plane. The angle between these two directions is compared. If the angle exceeds a preset threshold, the directions are considered inconsistent, and the match is considered a mismatch and is eliminated.
[0041] In this embodiment, spatial topological verification is performed on the correspondences that have passed the neighborhood consistency check. This checks whether the topological proximity of the associated pairs remains continuous in three-dimensional space, eliminating skip-type erroneous associations and obtaining the associated boundary point pairs. The aim is to ensure the rationality of the matching from a global structural level. This verification process can construct a graph structure, where nodes are matching pairs and edges represent the three-dimensional spatial proximity between matching pairs. Then, the connectivity or local consistency of the graph is checked. For example, if two adjacent three-dimensional grid boundary points in three-dimensional space are matched to two non-adjacent two-dimensional boundary points in a two-dimensional image, or if the matching relationship shows obvious breaks or jumps in three-dimensional space, then topological inconsistencies exist, and these erroneous associations are eliminated. This can be achieved through minimum spanning trees, graph cut algorithms, or strategies based on local neighborhood voting, ultimately obtaining highly reliable associated boundary point pairs.
[0042] In this embodiment, during the stage of acquiring associated boundary point pairs, cross-validation of 2D boundary points is first performed using multi-frame, multi-view data, effectively filtering out image noise and false detections from a single viewpoint, thus improving the reliability of 2D boundary points. Secondly, feature points of topological boundaries and curvature variation regions are extracted from the 3D mesh model to ensure the saliency of the matching target. More importantly, after the initial matching, neighborhood consistency verification and spatial topology verification are introduced. These two verification mechanisms rigorously screen and optimize the matching relationship from both local geometric direction and global topological structure perspectives. Neighborhood consistency verification effectively eliminates false matches caused by local feature similarity, while spatial topology verification further eliminates long-distance "jump-like" false associations, ensuring the continuity and rationality of the matching results in 3D space. Therefore, this application can improve the accuracy and robustness of matching between 2D boundary points and 3D mesh boundary points, thus laying a solid foundation for the accurate calculation of subsequent error vectors and the reliable construction of continuous error fields, ultimately improving the overall effect and reliability of mesh boundary point accuracy self-correction.
[0043] In one feasible implementation, refer to Figure 3 Step S300 includes steps S310 to S340, wherein: Step S310: For each pair of associated boundary points, calculate the two-dimensional deviation between the actual position of the two-dimensional boundary point in the image plane and the projected position of the corresponding three-dimensional mesh boundary point. Step S320: The two-dimensional deviation is transformed into three-dimensional space through back projection transformation to obtain the initial error vector of the three-dimensional mesh boundary points; Step S330: Decompose the initial error vector into source components, separating it into systematic offset components, random fluctuation components, and geometric degradation components; wherein, the systematic offset component represents the trend offset caused by scanning system calibration error and stitching cumulative error, the random fluctuation component represents the irregular fluctuation caused by sensor noise and environmental interference, and the geometric degradation component represents the boundary point shrinkage effect caused by the laser incident angle at the boundary exceeding the preset angle range or the material having high reflectivity; Step S340: Add attribute information to the error vector; wherein the attribute information includes: an error source type label determined according to the proportion of the systematic offset component, the random fluctuation component and the geometric degradation component in the error vector, a sharpness index of the associated image boundary, the point density of the neighborhood of the boundary point, and the angle between the normal vector of the boundary point and the scanning line of sight.
[0044] In this embodiment, the step of calculating the two-dimensional bias aims to quantify the inconsistency between the two-dimensional boundary points extracted from the two-dimensional image data and the three-dimensional mesh boundary points extracted from the three-dimensional mesh model on the image plane. For each pair of associated boundary points, the three-dimensional mesh boundary points are first projected onto the two-dimensional image plane using a known camera projection model to obtain their projected positions. Subsequently, the Euclidean distance or vector difference between this projected position and the actual pixel coordinates or sub-pixel coordinates of the corresponding two-dimensional boundary point on the image plane is calculated, which is the two-dimensional bias. This two-dimensional bias forms the basis for subsequent error analysis, intuitively reflecting the degree of mismatch between the three-dimensional model and the two-dimensional observation.
[0045] In this embodiment, the two-dimensional deviation is transformed to three-dimensional space through back-projection transformation to obtain the initial error vector of the three-dimensional mesh boundary point. The purpose of this step is to transform the two-dimensional deviation on the image plane into an error vector in three-dimensional space so that it can be directly used for the correction of the three-dimensional mesh boundary point. Back-projection transformation uses the camera's intrinsic and extrinsic parameters and depth information to map a point or vector on the two-dimensional image plane back to three-dimensional space. In specific implementation, the two-dimensional deviation can be regarded as a small perturbation of the projection point on the image plane, and then this perturbation is transformed into the initial error vector of the corresponding three-dimensional mesh boundary point in three-dimensional space through the Jacobian matrix or inverse projection matrix. The direction and magnitude of this initial error vector indicate how the three-dimensional mesh boundary point should move in three-dimensional space to better align with the two-dimensional observation.
[0046] Based on this, the initial error vector is decomposed into source components, separating them into systematic offset components, random fluctuation components, and geometric degradation components. This crucial step aims to deeply analyze the nature of the error, decomposing it into components with different physical meanings and correction strategies. The systematic offset component mainly originates from inherent errors in the scanning system during calibration, as well as global or local trend offsets accumulated during multi-view data stitching or model fusion. These offsets exhibit certain regularity and predictability, for example, showing translational, rotational, or scale deviations throughout the scanning area. Its quantification can be achieved through global or regional low-frequency fitting, trend analysis, or statistical modeling of a large number of error vectors. The random fluctuation component is mainly caused by random noise from sensors (such as cameras and LiDAR), changes in ambient lighting, and uneven material reflectivity. It manifests as irregular, high-frequency fluctuations in the error vector within a local area, which are usually difficult to predict and model accurately. Its quantification can be achieved through statistical analysis of the residual after subtracting the systematic offset and geometric degradation components from the total error, or through signal processing methods such as high-frequency filtering. Geometric degradation components specifically refer to the systematic deviations in 3D scan data at boundary regions under specific geometric conditions (such as the laser incident angle at the boundary exceeding a preset angle range, causing the laser point to form a stretched or blurred spot on the object surface) or material properties (such as high reflectivity or transparent materials). This often manifests as a "receding" effect of boundary points inwards or outwards. Its quantification can be achieved by analyzing the local geometric features of the boundary points (such as the angle between the normal vector and the scanning line of sight), scan intensity information, or material properties.
[0047] Furthermore, attribute information is added to the error vectors. This step aims to provide richer contextual information for each error vector to assist in the subsequent construction of the error field and the evaluation of its reliability. The attribute information includes: an error source type label determined based on the proportion of the systematic offset component, the random fluctuation component, and the geometric degradation component in the error vector. This label helps to apply different weights or strategies to different types of errors in subsequent processing; a sharpness index of the associated image boundary, which reflects the reliability of the detection of two-dimensional boundary points in the image. For example, it can be quantified by calculating the gradient magnitude, edge contrast, or local entropy value of the boundary pixels. A boundary point with high sharpness means that its corresponding two-dimensional deviation is more reliable; the point density of the neighborhood of the boundary point, which reflects the sufficiency of data sampling in the local area around the three-dimensional mesh boundary point. A region with high point density means richer local geometric information and more stable error estimation. Point density can be obtained by calculating the number of points within a certain radius around the boundary point or the average point spacing; and the angle between the normal vector of the boundary point and the scanning line of sight. This angle is an important parameter for evaluating the geometric degradation effect. When the angle is too large (close to 90 degrees), the laser incident angle may be unsatisfactory, leading to a decrease in measurement accuracy and thus increasing the possibility of geometric degradation components. This information can be used to identify potential weak areas in geometric measurement.
[0048] In this embodiment, the present application overcomes the limitations of simply calculating the error vector by using the above technical solution. First, the initial error vector is decomposed into source components, separating them into systematic offset components, random fluctuation components, and geometric degradation components, thus clearly revealing the physical nature and causes of the error. This refined decomposition allows the subsequent construction of the continuous error field to no longer blindly fit a single error field, but rather to perform differentiated processing for error components with different properties. For example, for systematic offset components, global or regional trend fitting can be used for modeling; for random fluctuation components, stronger smoothing or statistical suppression is required; and for geometric degradation components, targeted compensation can be performed by combining local geometric features. This in-depth understanding and differentiation of error sources improves the accuracy and robustness of error field modeling.
[0049] Secondly, additional attribute information is added to the error vectors, including error source type labels, sharpness indices of associated image boundaries, point density in the neighborhood of the boundary point, and the angle between the boundary point's normal vector and the scanning line of sight. This provides rich contextual information for each error vector. This attribute information can serve as important weighting factors or constraints when constructing a continuous error field, guiding local adaptive adjustments to the error field. For example, in regions with low image boundary sharpness, sparse point density, or excessively large angles between the normal vector and the scanning line of sight (indicating a high risk of geometric degradation), the weight of the corresponding error vector can be reduced, or a more conservative field construction strategy can be adopted to avoid unreliable error information adversely affecting the overall error field. Simultaneously, when evaluating the reliability of 3D mesh boundary point position corrections, this attribute information provides more comprehensive and detailed judgment criteria, enabling the system to intelligently identify and avoid correcting unreliable errors caused by low-quality data or specific geometric conditions, thereby improving the accuracy and reliability of the correction. In summary, this refined error vector calculation and attribute appending mechanism enables error field modeling to more accurately reflect the actual error distribution and provides a more reliable and targeted basis for subsequent self-correction processes. It effectively solves the problem of insufficient error information leading to poor correction results in traditional methods, thereby improving the overall performance and reliability of mesh boundary point accuracy self-correction.
[0050] In one feasible implementation, refer to Figure 4 Step S400 includes steps S410 to S440, wherein: Step S410: Based on the error vectors and spatial positions of all three-dimensional mesh boundary points, a global trend error field is constructed; wherein, the global trend error field characterizes the low-frequency change trend of the error vector in three-dimensional space and satisfies the global smoothness constraint, so that the error vector changes continuously and smoothly at adjacent spatial positions. Step S420: For each 3D mesh boundary point, calculate the residual vector between its error vector and the predicted value of the global trend error field at the spatial location of that boundary point. Step S430: Based on the residual vectors and spatial positions of each 3D mesh boundary point, a local residual error field is constructed; wherein, the local residual error field represents the high-frequency local detail error after removing the global trend, and the allowable range of the gradient of the local residual error field is positively correlated with the degree of curvature change of the spatial region; Step S440: The global trend error field and the local residual error field are fused to obtain the continuous error field.
[0051] In this embodiment, the global trend error field aims to capture the low-frequency variation trend of the error vector in three-dimensional space. It focuses on the overall trend and macroscopic distribution of the error, rather than small local fluctuations. By constructing the global trend error field, noise can be effectively filtered out, error data can be smoothed, and a stable benchmark can be provided for subsequent local error analysis. Specifically, various smoothing interpolation or regression methods can be used to construct it, such as radial basis function (RBF) interpolation, Kriging interpolation, Gaussian process regression, or spline function methods. These methods can fit a continuous and smooth error field in the entire three-dimensional space based on the error vectors and their spatial locations at all three-dimensional mesh boundary points. During the construction process, smoothness constraints are introduced to ensure that the error vector changes continuously and smoothly at adjacent spatial locations. For example, the smoothness can be controlled by adjusting the bandwidth parameter of the kernel function, or by selecting an appropriate variogram model in Kriging interpolation to describe spatial correlation and achieve smoothing.
[0052] In this embodiment, for each 3D mesh boundary point, a residual vector is calculated between its error vector and the predicted value of the global trend error field at that boundary point's spatial location. The residual vector is the difference between the actual error vector of each 3D mesh boundary point and the predicted value of the global trend error field at that boundary point's spatial location; it represents the local error component unique to each boundary point after removing the global trend. The purpose of calculating the residual vector is to decompose the error into two parts: global trend and local details, so that they can be processed separately. Specifically, using the constructed global trend error field, the error vector value at the boundary point's 3D spatial location is predicted, and then this predicted value is subtracted from the original error vector of the boundary point to obtain the residual vector.
[0053] Based on this, a local residual error field is constructed using the residual vectors and spatial locations of each 3D mesh boundary point. This local residual error field aims to characterize high-frequency local detail errors after removing the global trend. These errors originate from the complexity of local geometric features, the local effects of sensor noise, or local instabilities in data acquisition. Constructing a local residual error field allows for a more refined capture of these local variations, thereby improving the error field's ability to describe the true error distribution. Specifically, methods such as local weighted regression (LOWESS / LOESS), local radial basis function interpolation, or kriging interpolation based on local neighborhoods can be employed. Unlike the global trend error field, the allowable range of gradient changes in the local residual error field is positively correlated with the degree of curvature variation in the spatial region. This means that in regions with complex geometry and large curvature variations, the local residual error field can allow for more drastic changes to better reflect local details; while in flat regions, it remains relatively smooth. This can be achieved by introducing curvature information as weights or constraints into the interpolation or regression model.
[0054] In this embodiment, the global trend error field and the local residual error field are fused to obtain the continuous error field. This fusion operation aims to obtain a continuous error field that reflects both the overall trend and captures local details, combining the advantages of both to provide a more comprehensive and accurate description of the error distribution. The most direct fusion method is to simply superimpose the two; that is, for any point in three-dimensional space, the value of its continuous error field is equal to the sum of the value of the global trend error field and the value of the local residual error field at that point. This superposition operation ensures that the final continuous error field simultaneously contains both low-frequency global trends and high-frequency local details.
[0055] In this embodiment, constructing a global trend error field effectively captures the low-frequency variation trend of the error vector in three-dimensional space. Through global smoothness constraints, noise and local fluctuations are filtered out, providing a stable and reliable macroscopic view of the overall distribution of the error field. Based on this, residual vectors at each three-dimensional mesh boundary point are calculated. These residual vectors accurately represent the high-frequency local detail errors after removing the global trend. Subsequently, a local residual error field is constructed based on these residual vectors. This error field adaptively adjusts its gradient according to the curvature variation of the spatial region, thus capturing local errors more precisely in geometrically complex and detail-rich areas, while maintaining appropriate smoothness in flat areas. Finally, by fusing the global trend error field and the local residual error field, a continuous error field that reflects both the overall error trend and accurately captures local details is obtained. This hierarchical modeling and fusion method enhances the error field's ability to represent the true error distribution, avoids the limitations of a single model in handling multi-scale errors, and provides a more accurate and reliable error basis for subsequent accuracy correction of three-dimensional mesh boundary points, effectively improving the accuracy and robustness of self-correction.
[0056] In one feasible implementation, the correlation between spatial locations is determined by a generalized distance when constructing the global trend error field and the local residual error field; the generalized distance integrates at least two of the following: Euclidean spatial distance, normal vector deviation, curvature difference, and color texture difference; wherein, at discontinuities in the object structure, the generalized distance is increased to block the error propagation between different geometric surfaces; Reference Figure 5 Step S440 includes steps S441 to S443, wherein: Step S441: For each spatial region in the three-dimensional space, determine the local reliability level of the spatial region based on the boundary point density and error consistency of the spatial region. Step S442: Based on the local reliability level, adaptively determine the weight ratio of the global trend error field and the local residual error field in the spatial region; wherein, the higher the local reliability level of the spatial region, the greater the weight of the local residual error field, and the lower the local reliability level of the spatial region, the greater the weight of the global trend error field. Step S443: The global trend error field and the local residual error field are weighted and superimposed according to the weight ratio to obtain the continuous error field.
[0057] In this embodiment, the generalized distance is a comprehensive metric designed to more accurately reflect the intrinsic relationship of error propagation between points in three-dimensional space, rather than relying solely on simple Euclidean distance. The generalized distance integrates at least two metrics, such as Euclidean distance, normal vector deviation, curvature difference, and color / texture difference. Euclidean distance is the most direct geometric distance in three-dimensional space, reflecting the physical proximity between points. Normal vector deviation measures the difference in the direction of the surface normal vector at two points; a large deviation indicates a sharp change in surface direction, corresponding to abrupt changes or discontinuities in geometric features. Curvature difference reflects the different degrees of surface curvature at two points; significant curvature differences help distinguish different geometric regions. Color / texture difference utilizes the optical properties of the object's surface, comparing the color or texture features of the image regions corresponding to points to determine whether they belong to the same surface or have similar material properties. At points of structural discontinuity, the generalized distance is designed to increase to block the propagation of error fields between different geometric surfaces. This means that when there is a significant geometric or topological discontinuity between two points (e.g., sharp edges, hole boundaries, or junctions of different components), even if their Euclidean distance is close, their generalized distance will be significantly amplified, thereby effectively isolating error information and preventing it from spreading unreasonably across discontinuity boundaries.
[0058] In this embodiment, for each spatial region in three-dimensional space, the local reliability level of the spatial region is first determined based on the boundary point density and error consistency. Boundary point density refers to the number or density of 3D mesh boundary points within a specific spatial region; high density indicates more abundant observation data and more reliable error estimation. Error consistency refers to the similarity in direction and magnitude of the error vectors of each 3D mesh boundary point within the region; high consistency indicates a stable and reliable error pattern, while low consistency suggests noise or local anomalies. By comprehensively evaluating these two indicators, the reliability of error information within each spatial region can be quantified, thus providing a basis for subsequent adaptive fusion.
[0059] In this embodiment, based on the local reliability level, the weight ratio of the global trend error field and the local residual error field in the spatial region is adaptively determined. Specifically, the higher the local reliability level of the spatial region, the greater the weight of the local residual error field. This is because in regions with sufficient data and stable error patterns, the local residual error field can capture finer and more accurate local error details, and therefore should be given a higher corrective influence. Conversely, the lower the local reliability level of the spatial region, the greater the weight of the global trend error field. In regions with sparse data or inconsistent errors, over-reliance on local details may introduce noise or inaccurate corrections. In such cases, the smooth and generalized error trend provided by the global trend error field is more robust and reliable, and therefore should be given a higher weight to ensure the stability of the correction. Finally, the global trend error field and the local residual error field are weighted and superimposed according to the weight ratio to obtain the continuous error field. This means that the final continuous error field is a linear combination of these two component fields, and its composition ratio in different spatial regions will be dynamically adjusted according to the local reliability level of that region.
[0060] In this embodiment, by introducing a generalized distance to determine the correlation between spatial locations, this application can more accurately model the spatial distribution of the error field. The generalized distance comprehensively considers various geometric and optical properties such as Euclidean spatial distance, normal vector deviation, curvature difference, and color texture difference, enabling the construction of the error field to better adapt to complex and varied object surfaces. Especially at discontinuous areas of the object structure, increasing the generalized distance effectively blocks the propagation of error information between different geometric surfaces, preventing the unreasonable correction of errors from one region to another unrelated region, thereby improving the geometric accuracy of the error field modeling and the reliability of boundary correction. Furthermore, this application determines the local reliability level based on the boundary point density and error consistency of the spatial region, and adaptively adjusts the weight ratio of the global trend error field and the local residual error field for weighted superposition, achieving intelligent fusion of the error fields. In regions with high data reliability, the local residual error field is given greater weight, allowing the correction to fully utilize fine local error information and achieve high-precision detail correction; while in regions with low data reliability, the global trend error field is given greater weight, utilizing its smoothing and generalization characteristics to suppress noise and uncertainty, ensuring the robustness of the correction. This adaptive fusion strategy effectively balances the global smoothness of the error field and its ability to capture local details, so that the final continuous error field can accurately reflect the overall error trend and finely characterize the local error features, thereby comprehensively improving the accuracy and robustness of the mesh boundary point accuracy self-correction method.
[0061] In one feasible implementation, refer to Figure 6Step S500 includes steps S510 to S530, wherein: Step S510: For each 3D grid boundary point, calculate a multi-dimensional reliability index; the multi-dimensional reliability index includes: a neighborhood error consistency index, reflecting the degree of consistency between the error vector of the boundary point and the error vector of neighboring boundary points in terms of direction and magnitude; an error magnitude stability index, reflecting the degree of fluctuation of the error magnitude of the boundary point in the neighborhood; a neighborhood point density index, reflecting the distribution density of neighboring boundary points around the boundary point; an error field gradient consistency index, reflecting the degree of consistency between the gradient direction of the error field at the boundary point and the gradient direction of the neighborhood; and a cross-layer consistency index, reflecting the degree of consistency between the global trend error field and the predicted value of the local residual error field at the boundary point. Step S520: Based on the multidimensional credibility index, a three-level hierarchical judgment is performed: if all indicators meet the corresponding preset threshold, the three-dimensional grid boundary point is judged as a credible point; if the core indicators meet the corresponding preset threshold but the auxiliary indicators do not meet the threshold, the three-dimensional grid boundary point is judged as a conditionally credible point; if the core indicators do not meet the corresponding preset threshold, the three-dimensional grid boundary point is judged as an untrustworthy point. Step S530: For a 3D mesh boundary point that is determined to be an untrustworthy point, record the reason for its untrustworthiness and feed the reason for untrustworthiness back to the error field construction stage to trigger the adjustment of the error field construction parameters of the spatial region where the untrustworthy point is located.
[0062] In this embodiment, when evaluating the reliability of the 3D mesh boundary point position correction, a series of multi-dimensional reliability indices need to be calculated first. Among them, the neighborhood error consistency index measures the similarity in direction and magnitude between the current boundary point error vector and the error vectors of its neighboring boundary points. For example, it can be obtained by calculating the statistical measure (such as the standard deviation) of the average angle or magnitude difference between the boundary point error vector and the error vectors of other boundary points in the neighborhood. High consistency means that the error information of that point is more reliable. The error magnitude stability index reflects the degree of fluctuation of the boundary point error magnitude in the neighborhood. Lower fluctuation indicates that the error field is more stable in that area, and the reliability of the correction is higher. It can be achieved by calculating the variance or standard deviation of the error magnitude in the neighborhood. The neighborhood point density index reflects the distribution density of neighboring boundary points around the boundary point. Generally speaking, high-density areas have more sufficient data, and the reliability of the error field construction is also higher. This index can be determined by counting the number of boundary points within a preset radius centered on the boundary point. The error field gradient consistency index reflects the degree of consistency between the gradient direction of the error field at a boundary point and the gradient direction of its neighboring area. High consistency indicates a clear trend in the error field's change in that region, leading to higher reliability of the correction. This can be assessed, for example, by calculating the angle or correlation between the error field gradient at the boundary point and the gradients of other points in the neighborhood. Furthermore, the cross-layer consistency index reflects the degree of consistency between the predicted values of the global trend error field and the local residual error field at the boundary point. High consistency indicates that the prediction results of the two error field models at different scales are similar at the boundary point, thus increasing the reliability of the correction. This can be obtained by calculating the Euclidean distance or angle between the two predicted values.
[0063] In this embodiment, after calculating the aforementioned multidimensional credibility indices, a three-level hierarchical judgment is performed based on these indices. This judgment process first sets one or more preset thresholds for each credibility index and distinguishes between core and auxiliary indices. For example, the neighborhood error consistency index and error amplitude stability index can be set as core indices, while the neighborhood point density index, error field gradient consistency index, and cross-layer consistency index are used as auxiliary indices. If all indices (including core and auxiliary indices) meet their respective preset thresholds, the 3D grid boundary point is judged as a credible point, indicating that its position correction has high reliability. If the core indices meet the preset thresholds, but some auxiliary indices fail to meet them, the 3D grid boundary point is judged as a conditionally credible point, meaning that the correction of this point has a certain degree of reliability, but some uncertainties still exist. If the core indices fail to meet the preset thresholds, the 3D grid boundary point is judged as an untrustworthy point, indicating that its position correction risk is high and it is not suitable for direct correction.
[0064] In this embodiment, for 3D mesh boundary points determined to be untrustworthy, this application further proposes recording the reasons for their untrustworthiness and feeding these reasons back to the error field construction stage to trigger adjustments to the error field construction parameters for the spatial region where the untrustworthy point is located. When a boundary point is determined to be untrustworthy, the system records which core indicators(s) fail to meet the threshold, along with their specific values, such as "low neighborhood error consistency" or "poor error amplitude stability." These recorded reasons for untrustworthiness and the spatial location information of the untrustworthy point are transmitted to the error field construction module. Based on the feedback information, the error field construction module adaptively adjusts the error field construction parameters for the spatial region where the untrustworthy point is located. For example, if it is found that an untrustworthy point in a certain region is due to "low neighborhood error consistency," it means that the error field smoothness in that region is insufficient, or the spatial correlation model is inaccurate. At this point, the smoothing kernel function parameters and spatial correlation weights for the region can be adjusted, or the sparsity of the data in the region can be considered when constructing the local residual error field. It can even trigger a more refined local error field modeling for the region, or the weight ratio can be adjusted when fusing the global trend error field and the local residual error field to reduce the influence of the local residual error field in the region, thereby improving the overall reliability of the error field.
[0065] In this embodiment, through the above technical solution, this application can perform a refined reliability assessment of the position correction of three-dimensional mesh boundary points, avoiding the problem of blindly correcting all boundary points, which may introduce new errors or amplify existing errors. By comprehensively considering multi-dimensional reliability indicators and using a three-level hierarchical judgment, reliable points, conditionally reliable points, and unreliable points can be distinguished, thus providing a reliable basis for subsequent differentiated correction strategies and improving the accuracy and stability of the correction results. Furthermore, the feedback mechanism introduced for unreliable points enables the error field construction process to adaptively optimize according to the actual correction effect, forming a closed-loop self-correction system, thereby continuously improving the quality of the error field and the robustness of the overall method. This adaptive adjustment mechanism ensures that in complex or sparse data regions, the error field can more accurately reflect the actual error distribution, thereby achieving more reliable self-correction of mesh boundary point accuracy.
[0066] In one feasible implementation, refer to Figure 7 Step S600 includes steps S610 to S650, wherein: Step S610: For a three-dimensional mesh boundary point determined to be a reliable point, obtain the error field value of the spatial position corresponding to the boundary point from the continuous error field, and perform full position correction on the boundary point according to the direction and magnitude of the error field value; Step S620: For a 3D mesh boundary point determined as a conditionally credible point, obtain the error field value of the spatial position corresponding to the boundary point from the continuous error field, multiply the error field value by the attenuation factor to obtain the weight reduction correction amount, and perform weight reduction position correction on the boundary point according to the direction and magnitude of the weight reduction correction amount; wherein, the attenuation factor is positively correlated with the credibility score of the conditionally credible point; Step S630: For 3D mesh boundary points determined to be untrustworthy points, no position correction is performed, the original 3D position data of the boundary point is retained and untrustworthy marking is applied; Step S640: Perform local geometric consistency verification on each 3D mesh boundary point after position correction, and check whether the mesh surface formed by the boundary point and the adjacent mesh vertices after correction has been flipped or abnormally stretched. For boundary points with deformation, automatically reduce the correction amount until the geometric continuity constraint is met. Step S650: Record the correction uncertainty for each 3D mesh boundary point after the position correction is performed, and propagate the correction uncertainty along the mesh topology to adjacent mesh vertices to adjust the fine-tuning amount of the confidence of adjacent mesh vertices, forming a correction uncertainty distribution.
[0067] In this embodiment, for 3D mesh boundary points determined to be reliable points, their error vectors and neighborhood features exhibit high consistency and stability, resulting in high reliability of the correction. At this point, the system accurately obtains the error field value corresponding to the spatial location of the boundary point from the constructed continuous error field. This error field value contains the direction and magnitude information of the correction. Subsequently, a full position correction is performed on the boundary point according to the direction and magnitude of the error field value, that is, the error field value vector is directly applied to the 3D coordinates of the boundary point to maximize the elimination of its existing errors.
[0068] In this embodiment, for 3D mesh boundary points determined as conditionally credible points, their credibility lies between that of credible and uncredible points, and some indicators may not meet the preset threshold. To improve accuracy while avoiding the risk of over-correction, this application introduces an attenuation factor. This attenuation factor is a value between 0 and 1, and its magnitude is positively correlated with the credibility score of the conditionally credible point; that is, the higher the score, the larger the attenuation factor, and the closer the correction amount is to full correction. The system obtains the error field value of the spatial location corresponding to the boundary point from the continuous error field, and multiplies the error field value by the attenuation factor to obtain the weighted correction amount. Subsequently, weighted position correction is performed on the boundary point according to the direction and magnitude of the weighted correction amount, thereby achieving a balance between correction effect and correction risk.
[0069] In this embodiment, a 3D mesh boundary point determined as an untrusted point means that its error vector or neighborhood features exhibit significant inconsistencies, instabilities, or anomalies, posing a very high risk of correction. Therefore, to avoid introducing larger errors or compromising the geometric integrity of the model, this application chooses not to correct the position of such boundary points. Instead, it retains the original 3D position data of the boundary point and marks it as untrusted for identification during subsequent processing or manual intervention.
[0070] Furthermore, since boundary point repositioning may cause undesirable deformations in the local mesh structure, such as mesh face flipping or overstretching, this application performs a local geometric consistency check on each 3D mesh boundary point after repositioning. This check detects whether the mesh face formed by the repositioned boundary point and its adjacent mesh vertices exhibits flipping or abnormal stretching deformation. Once such deformation is detected, the system automatically and iteratively reduces the repositioning amount until the preset geometric continuity constraints are met, thereby avoiding the introduction of new geometric defects and ensuring the geometric integrity and topological correctness of the repositioned 3D mesh model.
[0071] In this embodiment, to more comprehensively evaluate the accuracy and reliability of the entire mesh model, this application also records the correction uncertainty for each 3D mesh boundary point after position correction. This correction uncertainty may originate from the accuracy of the error field itself, the application of attenuation factors, or adjustments to geometric verification. The correction uncertainty propagates along the mesh topology to adjacent mesh vertices to adjust the fine-tuning of the confidence level of adjacent mesh vertices, thereby forming a correction uncertainty distribution map reflecting the overall model's correction reliability. This is helpful for subsequent iterative corrections or quality assessments.
[0072] In this embodiment, through the above technical solution, this application can implement a refined hierarchical correction strategy based on the confidence level of the 3D mesh boundary points. For boundary points with high confidence, sufficient correction is performed to maximize accuracy improvement; for boundary points with medium confidence, weight reduction correction is performed through a decay factor, effectively avoiding correction risks while improving accuracy; for boundary points with low confidence, no correction is performed and they are marked to avoid introducing new errors. In addition, the introduction of local geometric consistency verification can effectively prevent geometric deformations such as mesh flipping or abnormal stretching caused by correction operations, ensuring the topological integrity and geometric continuity of the corrected model. The recording and propagation mechanism of correction uncertainty further provides a comprehensive assessment of the reliability of the entire mesh model correction and can dynamically adjust the confidence of neighboring points, providing a more reliable basis for subsequent iterative optimization or quality control, thereby improving the robustness of mesh boundary point accuracy self-correction and the quality of the final model.
[0073] In one feasible implementation, refer to Figure 8The method further includes steps S710 to S740, wherein: Step S710: For 3D mesh boundary points whose confidence level does not meet the preset conditions, mark them as points to be scanned and record the spatial position of each point to be scanned. Step S720: Based on the continuous error field, perform error prediction extrapolation on the insufficiently scanned spatial region adjacent to each point to be scanned, and generate a scanned region covering the spatial region where the point to be scanned is located based on the prediction result; wherein, the error prediction extrapolation uses the spatial distribution law of the continuous error field in the scanned region to calculate the estimated error distribution of the insufficiently scanned spatial region. Step S730: Feedback the supplementary scanning area to the scanning system to guide the scanning system to perform targeted supplementary scanning of the supplementary scanning area and obtain supplementary point cloud data; Step S740: The supplemented point cloud data is fused with the three-dimensional mesh model, and the incremental update of the continuous error field is triggered according to the supplemented point cloud data, so that the continuous error field incorporates the new error information brought by the supplemented data.
[0074] In this embodiment, for 3D mesh boundary points whose reliability does not meet the preset conditions, they are marked as points to be re-scanned, and the spatial position of each point to be re-scanned is recorded. After evaluating the reliability of the 3D mesh boundary point position correction, the system will make a judgment based on a preset reliability threshold. For example, if the reliability score of a point is lower than a certain threshold, or if it is determined to be an unreliable point, then the point is considered unreliable and needs to be re-scanned. The system stores the 3D coordinates (e.g., XYZ coordinates) of these points in a list and adds a "to be re-scanned" tag for subsequent processing.
[0075] Based on this, and using the continuous error field, error prediction extrapolation is performed on the unscanned spatial regions near each point to be scanned, and a scanned region covering the spatial region where the point to be scanned is located is generated based on the prediction results. Specifically, the error prediction extrapolation utilizes the spatial distribution pattern of the continuous error field in the scanned region to calculate the estimated error distribution of the unscanned spatial region. The continuous error field has been constructed and characterizes the continuous distribution of the error vector in three-dimensional space. For a point to be scanned, its neighboring region may contain areas that are unscanned or have poor data quality. The system can utilize the interpolation or extrapolation capabilities of the continuous error field, based on known error distribution patterns (e.g., through Gaussian process regression, radial basis function interpolation, or Kriging interpolation), to predict the error distribution trend of the unscanned region around the point to be scanned. For example, if the point to be scanned is located in a region with a large error gradient, the errors around it may also be large. Based on these predicted error distributions, a scanned region containing the point to be scanned and its surrounding high-error-risk region can be determined, such as a spherical region, a bounding box, or an adaptive region based on curvature changes.
[0076] In this embodiment, the supplementary scanning area is fed back to the scanning system to guide the system in performing targeted supplementary scanning of the area and acquiring supplementary point cloud data. The supplementary scanning area can be represented in the form of a three-dimensional coordinate range or a geometric shape (such as a polygon or voxel). After receiving this information, the scanning system (e.g., a laser scanner or a structured light scanner) can automatically or semi-automatically adjust its scanning path, scanning density, scanning angle, and other parameters to focus on the designated supplementary scanning area. For example, a robotic scanning arm can be programmed to precisely move above the supplementary scanning area and scan at a higher resolution or from different perspectives to obtain denser and more accurate supplementary point cloud data.
[0077] In this embodiment, the supplemented point cloud data is fused with the 3D mesh model, and the incremental update of the continuous error field is triggered based on the supplemented point cloud data, enabling the continuous error field to incorporate the new error information brought by the supplemented data. The supplemented point cloud data first needs to be registered and fused with the existing 3D mesh model. This can be achieved through the Iterative Closest Point (ICP) algorithm or other point cloud registration techniques. After fusion, the new point cloud data can be used to update the 3D mesh model, for example, through local mesh reconstruction or projection of the point cloud onto the mesh. More importantly, this new, higher-quality supplemented point cloud data can serve as new observations, recalculating the projection deviation between the data and the 3D mesh model, thereby generating new error vectors. These new error vectors are then input into the continuous error field model, triggering an incremental update of the error field. For example, Kalman filtering, particle filtering, or online learning methods based on Gaussian processes can be used to integrate the new data into the existing error field, enabling the error field to reflect the latest data quality and model accuracy in real time, thereby continuously improving its prediction and correction capabilities.
[0078] In this embodiment, through the above technical solution, this application can effectively solve the problem that some 3D mesh boundary points cannot be reliably corrected during the initial scanning and correction process due to data quality, scanning coverage, or complex geometric structures. By marking these points as points to be scanned and intelligently planning the scanned area, the system can guide the scanning device to collect data in key areas, avoiding blind or over-scanning and improving the efficiency and quality of data collection. In addition, by fusing the newly acquired scanned point cloud data with the existing model and triggering incremental updates of the continuous error field, the error field can continuously learn and adapt to new data information, thereby continuously optimizing its ability to represent and predict errors. This not only improves the overall accuracy and integrity of the 3D mesh model, but also forms an adaptive, iteratively optimized closed-loop system, ensuring high-precision 3D reconstruction results even in complex scenes.
[0079] In one feasible implementation, the step of triggering incremental updates of the continuous error field based on the supplementary point cloud data includes: obtaining the error value of the new boundary point of the supplementary area based on the supplementary point cloud data; calculating the deviation between the error value of the new boundary point and the predicted value of the continuous error field at the corresponding spatial location; using the deviation to correct and update the corresponding local spatial region in the continuous error field, and synchronously increasing the correction uncertainty of the local spatial region according to the magnitude of the deviation; tracking the change in the proportion of the points to be supplemented and the change in the average correction uncertainty before and after each supplementary scan; and when the change amplitude is lower than a preset convergence threshold after multiple consecutive supplementary scans, determining that the scan has converged and automatically terminating the supplementary scan process.
[0080] In this embodiment, after acquiring the supplementary point cloud data, the system identifies and extracts new boundary points within the supplementary area from this new point cloud data. The error values of these new boundary points can be obtained in various ways. For example, the two-dimensional projection deviation can be calculated by projecting these new boundary points onto the original two-dimensional image data and comparing them with the actual boundary points in the image, and then converting them into an error vector in three-dimensional space through back-projection transformation. Alternatively, if higher-precision reference data exists, it can be directly compared with the reference data to determine the error. Subsequently, the error values of these new boundary points are compared with the predicted values of the currently constructed continuous error field at the corresponding spatial locations of these new boundary points. Specifically, the continuous error field can predict the error vector at any three-dimensional spatial location based on its internal model. The deviation is obtained by calculating the vector difference between the actual error value of the new boundary point and the predicted value of the continuous error field. This deviation quantifies the inconsistency between the newly acquired supplementary data and the existing error field model.
[0081] In this embodiment, once the deviation is calculated, the system uses it to correct and update the local spatial region corresponding to the scanned area in the continuous error field. This correction and update can be implemented using various algorithms, such as incremental update mechanisms based on Kalman filtering or Gaussian process regression. The deviation is incorporated into the error field model as a new observation to adjust and optimize the error distribution in the local region. The purpose of the correction and update is to make the continuous error field better reflect the true error situation revealed by the scanned data. Simultaneously, the correction uncertainty of the local spatial region is increased according to the magnitude of the deviation. This means that if there is a large deviation between the new data and the existing error field model, it indicates that the error model in that region has significant uncertainty or has changed significantly. Therefore, it is necessary to increase the correction uncertainty label for that region to give it more attention in subsequent processing or to adopt a more conservative correction strategy.
[0082] In this embodiment, to ensure the efficiency and final accuracy of the self-calibration process, a convergence determination mechanism is introduced. This mechanism tracks the changes in two key indicators before and after each supplementary scan: first, the change in the proportion of points to be supplemented, i.e., after each supplementary scan and error field update, the number of points requiring further supplementary scans or their proportion of the total boundary points is reassessed and statistically analyzed; second, the change in the average correction uncertainty, i.e., the change in the average correction uncertainty of all corrected points within the supplementary scan area or the entire model range. The system continuously monitors these indicators. When, after multiple consecutive supplementary scans (e.g., three or more consecutive scans), the change in the magnitude of both indicators is lower than the preset convergence threshold, it indicates that the supplementary scan process has stabilized, and the correction effect of the new supplementary scan data on the overall error field is no longer significant. At this point, the scan can be determined to have converged. Once convergence is determined, the system will automatically terminate the supplementary scan process, thereby avoiding unnecessary resource consumption and time waste.
[0083] In this embodiment, the deviation between the error value of the new boundary point in the supplementary scanning area and the predicted value of the continuous error field is calculated, and this deviation is used to locally correct and update the error field. Simultaneously, the correction uncertainty is increased based on the deviation magnitude, enabling the error field to dynamically and accurately absorb information from new data and reflect the model's uncertainty in real time. Furthermore, by tracking the proportional changes of the points to be supplemented and the magnitude of changes in the average correction uncertainty, and setting a convergence threshold, this application can intelligently determine whether the scanning process has converged. This not only avoids resource waste caused by blind supplementation but also prevents insufficient accuracy due to premature termination, ensuring high-precision self-calibration of the final 3D mesh model boundary points and improving the automation and intelligence level of the entire 3D reconstruction and calibration process.
[0084] In the embodiments of this application, the mesh boundary point accuracy self-correction method based on error field modeling constructs a continuous error field covering a three-dimensional spatial region and evaluates the reliability of boundary point correction, thereby achieving adaptive correction of mesh boundary points. This solves the technical problems of boundary point position offset and poor structural continuity, effectively corrects the position deviation of mesh boundary points, and improves the accuracy and structural continuity of the boundary region.
[0085] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the mesh boundary point accuracy self-correction method based on error field modeling in this application. Any simple transformations based on this technical concept are within the protection scope of this application.
[0086] This application also provides a mesh boundary point accuracy self-correction system based on error field modeling, reference Figure 9The mesh boundary point accuracy self-calibration system based on error field modeling includes: a memory 10, a processor 20, and a mesh boundary point accuracy self-calibration program based on error field modeling stored in the memory 10 and executable on the processor 20. The mesh boundary point accuracy self-calibration program based on error field modeling is configured to implement the steps of the mesh boundary point accuracy self-calibration method based on error field modeling.
[0087] The mesh boundary point accuracy self-correction system based on error field modeling provided in this application employs the mesh boundary point accuracy self-correction method based on error field modeling in the above embodiments. It can correct the positional deviation of mesh boundary points, improving the accuracy and structural continuity of the boundary region. Compared with the prior art, the beneficial effects of the mesh boundary point accuracy self-correction system based on error field modeling provided in this application are the same as those of the mesh boundary point accuracy self-correction method based on error field modeling provided in the above embodiments. Furthermore, other technical features of the mesh boundary point accuracy self-correction system based on error field modeling are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0088] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0089] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. All equivalent structural transformations made under the technical concept of this application using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included within the scope of patent protection of this application.
Claims
1. A self-correction method for the accuracy of mesh boundary points based on error field modeling, characterized in that, The method includes: Acquire two-dimensional image data and a three-dimensional mesh model of the target object; wherein the two-dimensional image data and the three-dimensional mesh model are acquired based on the same target object; Two-dimensional boundary points are extracted from the two-dimensional image data, three-dimensional mesh boundary points are extracted from the three-dimensional mesh model, and the two-dimensional boundary points are matched with the three-dimensional mesh boundary points through projection association to obtain associated boundary point pairs; Based on the projection deviation between the two-dimensional boundary points and the three-dimensional mesh boundary points in the associated boundary point pair, the error vector of each three-dimensional mesh boundary point is calculated. Based on the error vectors of each 3D mesh boundary point and their positions in 3D space, a continuous error field covering the 3D spatial region is constructed; wherein, the continuous error field represents the continuous distribution of the error vectors in 3D space; For each 3D mesh boundary point, the reliability of the position correction of the 3D mesh boundary point is evaluated based on the field characteristics of the continuous error field at the corresponding spatial location. For a three-dimensional mesh boundary point whose credibility meets the preset conditions, the error field value of the corresponding spatial position is obtained from the continuous error field, and the three-dimensional position of the three-dimensional mesh boundary point is corrected according to the direction and magnitude of the error field value.
2. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 1, characterized in that, The steps of extracting two-dimensional boundary points from the two-dimensional image data, extracting three-dimensional mesh boundary points from the three-dimensional mesh model, and matching the two-dimensional boundary points with the three-dimensional mesh boundary points through projection association to obtain associated boundary point pairs include: Two-dimensional boundary points are extracted from multi-frame, multi-view two-dimensional image data. Cross-validation is performed on the two-dimensional boundary points extracted from different perspectives. Two-dimensional boundary points detected only in a single perspective are removed, while two-dimensional boundary points detected in multiple perspectives are retained. Extract the three-dimensional mesh boundary points located at the mesh topological boundaries and curvature variation regions from the three-dimensional mesh model; The 3D mesh boundary points are projected onto the 2D image plane using a camera projection model, and a preliminary correspondence between the 2D boundary points and the 3D mesh boundary points is established after cross-validation. The preliminary correspondence is checked for neighborhood consistency. The edge direction of the two-dimensional boundary point in the neighborhood of the projection point is checked to see if it is consistent with the geometric direction of the corresponding three-dimensional mesh boundary point. Mismatches with inconsistent directions are eliminated. Spatial topology verification is performed on the correspondence that has passed the neighborhood consistency check to detect whether the topological proximity of the associated pairs remains continuous in three-dimensional space, eliminate skip-type false associations, and obtain the associated boundary point pairs.
3. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 1, characterized in that, The steps for calculating the error vector of each 3D mesh boundary point based on the projection deviation between the 2D boundary points and the 3D mesh boundary points in the associated boundary point pair include: For each pair of associated boundary points, calculate the two-dimensional deviation between the actual position of the two-dimensional boundary point in the image plane and the projected position of the corresponding three-dimensional mesh boundary point. The two-dimensional deviation is transformed into three-dimensional space through back projection transformation to obtain the initial error vector of the three-dimensional mesh boundary points; The initial error vector is decomposed into source components, random fluctuation components, and geometric degradation components. The systematic offset component represents the trend offset caused by scanning system calibration error and splicing cumulative error. The random fluctuation component represents the irregular fluctuation caused by sensor noise and environmental interference. The geometric degradation component represents the boundary point shrinkage effect caused by the laser incident angle at the boundary exceeding the preset angle range or the high reflectivity of the material. Attribute information is added to the error vector; wherein the attribute information includes: an error source type label determined according to the proportion of the systematic offset component, the random fluctuation component and the geometric degradation component in the error vector, a sharpness index of the associated image boundary, the point density of the neighborhood of the boundary point, and the angle between the normal vector of the boundary point and the scanning line of sight.
4. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 1, characterized in that, The steps for constructing a continuous error field covering a three-dimensional spatial region based on the error vectors of each three-dimensional mesh boundary point and their positions in three-dimensional space include: A global trend error field is constructed based on the error vectors and spatial locations of all 3D mesh boundary points. The global trend error field characterizes the low-frequency change trend of the error vectors in 3D space and satisfies the global smoothness constraint, so that the error vectors at adjacent spatial locations change continuously and smoothly. For each 3D mesh boundary point, calculate the residual vector between its error vector and the predicted value of the global trend error field at the spatial location of that boundary point; Based on the residual vectors and spatial locations of each 3D mesh boundary point, a local residual error field is constructed; wherein, the local residual error field represents the high-frequency local detail error after removing the global trend, and the allowable range of the gradient of the local residual error field is positively correlated with the degree of curvature change of the spatial region; The global trend error field and the local residual error field are fused to obtain the continuous error field.
5. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 4, characterized in that, When constructing the global trend error field and the local residual error field, the correlation between spatial locations is determined by the generalized distance; the generalized distance integrates at least two of the following: Euclidean spatial distance, normal vector deviation, curvature difference, and color texture difference; wherein, at discontinuities in the object structure, the generalized distance is increased to block the error propagation between different geometric surfaces; The step of fusing the global trend error field with the local residual error field to obtain the continuous error field includes: For each spatial region in three-dimensional space, the local reliability level of the spatial region is determined based on the boundary point density and error consistency of the spatial region. Based on the local reliability level, the weight ratio of the global trend error field and the local residual error field in the spatial region is adaptively determined; wherein, the higher the local reliability level of the spatial region, the greater the weight of the local residual error field, and the lower the local reliability level of the spatial region, the greater the weight of the global trend error field. The global trend error field and the local residual error field are weighted and superimposed according to the weight ratio to obtain the continuous error field.
6. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 4, characterized in that, The steps for evaluating the reliability of the 3D mesh boundary point position correction based on the field characteristics of the continuous error field at the corresponding spatial location include: For each 3D grid boundary point, a multidimensional reliability index is calculated. This multidimensional reliability index includes: a neighborhood error consistency index, reflecting the consistency of the boundary point's error vector with that of neighboring boundary points in terms of direction and magnitude; an error magnitude stability index, reflecting the fluctuation of the boundary point's error magnitude within its neighborhood; a neighborhood point density index, reflecting the distribution density of neighboring boundary points around the boundary point; an error field gradient consistency index, reflecting the consistency of the gradient direction of the error field at the boundary point with the gradient direction of its neighborhood; and a cross-layer consistency index, reflecting the consistency of the global trend error field with the predicted value of the local residual error field at the boundary point. Based on the multidimensional credibility index, a three-level hierarchical judgment is performed: if all indicators meet the corresponding preset threshold, the three-dimensional grid boundary point is judged as a credible point; if the core indicators meet the corresponding preset threshold but the auxiliary indicators do not meet the threshold, the three-dimensional grid boundary point is judged as a conditionally credible point; if the core indicators do not meet the corresponding preset threshold, the three-dimensional grid boundary point is judged as an untrustworthy point. For 3D mesh boundary points that are determined to be untrustworthy, the reasons for their untrustworthiness are recorded, and the reasons for untrustworthiness are fed back to the error field construction stage to trigger the adjustment of the error field construction parameters of the spatial region where the untrustworthy point is located.
7. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 6, characterized in that, For a 3D mesh boundary point whose confidence level meets a preset condition, the steps of obtaining the error field value corresponding to the spatial location from the continuous error field and correcting the 3D position of the 3D mesh boundary point according to the direction and magnitude of the error field value include: For a 3D mesh boundary point determined to be a reliable point, the error field value of the corresponding spatial position of the boundary point is obtained from the continuous error field, and the full position correction is performed on the boundary point according to the direction and magnitude of the error field value. For a 3D mesh boundary point determined as a conditionally credible point, the error field value of the corresponding spatial position of the boundary point is obtained from the continuous error field. The error field value is multiplied by an attenuation factor to obtain a weighted correction amount. Weighted position correction is performed on the boundary point according to the direction and magnitude of the weighted correction amount. The attenuation factor is positively correlated with the credibility score of the conditionally credible point. For 3D mesh boundary points that are determined to be untrusted, no position correction is performed; the original 3D position data of the boundary point is retained and marked as untrusted. Perform local geometric consistency verification on each 3D mesh boundary point after position correction, and check whether the mesh surface formed by the boundary point and the adjacent mesh vertices after correction has been flipped or abnormally stretched. For boundary points with deformation, automatically reduce the correction amount until the geometric continuity constraint is met. The correction uncertainty is recorded for each 3D mesh boundary point after the position correction is performed, and the correction uncertainty is propagated along the mesh topology to adjacent mesh vertices to adjust the fine-tuning amount of the confidence of adjacent mesh vertices, forming a correction uncertainty distribution.
8. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 1, characterized in that, The method further includes: For 3D mesh boundary points whose reliability does not meet the preset conditions, they are marked as points to be scanned, and the spatial position of each point to be scanned is recorded. Based on the continuous error field, error prediction extrapolation is performed on the insufficiently scanned spatial region adjacent to each point to be scanned, and a scanned region covering the spatial region where the point to be scanned is located is generated according to the prediction results; wherein, the error prediction extrapolation uses the spatial distribution law of the continuous error field in the scanned region to calculate the estimated error distribution of the insufficiently scanned spatial region. The supplementary scanning area is fed back to the scanning system to guide the scanning system to perform targeted supplementary scanning of the supplementary scanning area and obtain supplementary point cloud data; The supplementary point cloud data is fused with the three-dimensional mesh model, and the incremental update of the continuous error field is triggered based on the supplementary point cloud data, so that the continuous error field incorporates the new error information brought by the supplementary data.
9. The mesh boundary point accuracy self-correction method based on error field modeling as described in claim 8, characterized in that, The step of triggering incremental updates of the continuous error field based on the supplemented point cloud data includes: Based on the supplementary point cloud data, obtain the error value of the new boundary point of the supplementary area, and calculate the deviation between the error value of the new boundary point and the predicted value of the continuous error field at the corresponding spatial location. The deviation is used to correct and update the corresponding local spatial region in the continuous error field, and the correction uncertainty of the local spatial region is synchronously increased according to the magnitude of the deviation. The changes in the proportion of the points to be scanned and the average correction uncertainty before and after each scan are tracked. When the change is lower than the preset convergence threshold after multiple scans, the scan is determined to have converged and the scan process is automatically terminated.
10. A self-calibrating system for the accuracy of mesh boundary points based on error field modeling, characterized in that, The mesh boundary point accuracy self-calibration system based on error field modeling includes: a memory, a processor, and a mesh boundary point accuracy self-calibration program based on error field modeling stored in the memory and executable on the processor. The mesh boundary point accuracy self-calibration program based on error field modeling is configured to implement the steps of the mesh boundary point accuracy self-calibration method based on error field modeling as described in any one of claims 1 to 9.
