A dual-camera alternate pose coordinate unification method for large-stroke displacement monitoring

By using a dual-camera alternating attitude adjustment coordinate unification method, the problem of monitoring data breakage caused by camera attitude changes during the construction of large-span structures was solved. This enabled multi-point collaborative monitoring and long-term continuous observation of large-span structures and complex construction sites, adapting to environments with sparse background features and ensuring the continuity and accuracy of monitoring data.

CN123141584APending Publication Date: 2026-11-20CHINA RAILWAY 18TH CONSTR BUREAU (GRP) THE 5TH ENG LTD CO +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611389142.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In the construction process and long-term health monitoring of large-span or large-scale structures, existing technologies are difficult to achieve multi-point collaborative monitoring and long-term continuous observation. Especially during the construction process of large-span structures, such as overall lifting, cumulative sliding or segmented unloading, changes in camera pose cause pixel-world coordinate mapping to fail, resulting in loss of continuity of monitoring data. Furthermore, it is difficult to set up static reference markers in construction sites with sparse background features or complex structures.

Method used

The dual-camera alternating attitude adjustment coordinate unification method is adopted. By fixing two cameras in non-overlapping installation positions, they jointly cover the reference feature points on the monitoring structure. By using synchronous image acquisition and feature point recognition, a unified world coordinate system is established. When the camera mapping parameters fail, the camera pose is adjusted alternately to maintain the stable mapping parameters of the other camera as a reference and reconstruct new mapping parameters, ensuring the continuity of the world coordinates of the monitored target points under the unified coordinate system.

Benefits of technology

It achieves the continuity of monitoring data after camera attitude adjustment in large-stroke displacement monitoring, adapts to indoor large-span structures and complex construction sites, supports multiple adjustments as needed during long-term monitoring, avoids coordinate reference breakage, and ensures the continuity and accuracy of monitoring data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123141584A_ABST
    Figure CN123141584A_ABST
Patent Text Reader

Abstract

The application discloses a two-camera alternate pose-adjusting coordinate unification method for large-stroke displacement monitoring, relates to the technical field of structural health monitoring and computer vision, and fixes camera A and camera B at non-overlapping positions, so that the fields of view of the two cameras jointly cover reference features and monitoring target points are arranged. The two cameras synchronously collect images and identify reference feature points, initial coordinate mapping parameters and a unified world coordinate system are established according to the pixel coordinates and known world coordinates. In normal monitoring, the two cameras continuously collect images, and the pixel coordinates are converted into world coordinates. When the mapping parameters of one camera are invalid, the current world coordinates of the reference feature points are obtained by using the current valid mapping parameters of the other camera, and new mapping parameters are solved by combining the pixel coordinates of the pose-adjusting camera. The two cameras alternately perform coordinate connection, the coordinates of each observation section are based on the unified world coordinate system, and the displacement time history is calculated according to the difference between the world coordinates at each time and the initial time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of structural health monitoring and computer vision technology, specifically a unified method for alternating attitude adjustment coordinates of dual cameras for monitoring large-stroke displacement. Background Technology

[0002] In the construction process and long-term health monitoring of large-span or large-scale structures, structural displacement is an important indicator for evaluating the structural safety status and construction quality. Traditional displacement monitoring methods include total stations, wire displacement gauges, and GNSS. These methods are complex to deploy and have limited measuring points, and have limitations in multi-point collaborative monitoring and long-term continuous observation.

[0003] Image sequence-based structural displacement monitoring methods have gradually gained attention due to their advantages of being non-contact, capable of multi-point synchronization, and easy to deploy. These methods involve placing identifiable monitoring target points at key locations on the structure, continuously acquiring images with a camera, extracting the pixel coordinates of the target points, and converting them into engineering displacements by combining the pixel-world coordinate mapping relationship.

[0004] However, during the construction process of large-span structures, such as overall lifting, cumulative sliding, or segmented unloading, the structural displacement is significant. Constrained by factors such as the clearance of the construction work surface, component obstruction, and equipment space requirements, a single camera position cannot simultaneously maintain both the visible range and imaging accuracy of the monitored target throughout the entire process. As the structure gradually comes into place, the position of the monitored target in the image continuously shifts or even moves out of the field of view, forcing operators to actively adjust the camera's installation position or elevation angle to re-align it with the monitored target.

[0005] In addition, the phased dismantling and alteration of scaffolding and the entry and exit of construction equipment may also passively cause changes in camera pose. After each adjustment, the imaging geometry between the camera and the monitored target changes, the pixel-spatial coordinate transformation relationship established before the pose adjustment becomes invalid, the two displacement time histories cannot be connected, the coordinate reference is broken, and the monitoring data loses continuity.

[0006] Existing methods typically rely on static background feature points or pre-deployed fixed reference markers to restore coordinate consistency before and after pose adjustment. However, the applicability of these methods is limited for scenarios with sparse background features and difficulty in deploying fixed reference markers, such as indoor large-span structures or complex construction sites.

[0007] To address the aforementioned issues, this invention proposes a unified method for alternating attitude adjustment coordinates of dual cameras for monitoring large-stroke displacement. Summary of the Invention

[0008] The purpose of this invention is to provide a unified method for alternating attitude adjustment coordinates of dual cameras for monitoring large-stroke displacement, so as to solve the problems raised in the prior art.

[0009] To achieve the above objectives, the present invention provides the following technical solution:

[0010] A method for unifying the attitude coordinates of alternating dual cameras for monitoring large-stroke displacement includes the following steps:

[0011] S1. Fix camera A and camera B in non-overlapping installation positions so that the fields of view of the two cameras jointly cover multiple sets of reference features and multiple sets of common reference feature points on the monitored structure. Each set of reference features contains multiple feature points. Each feature point is uniquely numbered and the geometric relationship between them is known. Set up monitoring target points on the monitored structure.

[0012] S2. Two cameras simultaneously acquire images and identify reference feature points. Based on the pixel coordinates of the reference feature points and the known world coordinates, the initial coordinate mapping parameters of camera A and camera B are established, and a unified world coordinate system is established.

[0013] S3. Two cameras continuously acquire images, and convert the pixel coordinates of the reference feature point and the monitored target point into world coordinates according to their respective current effective mapping parameters;

[0014] S4. When the mapping parameters of camera A fail, keep the pose of camera B unchanged. After camera A completes the pose adjustment, obtain the current world coordinates of each reference feature point according to the current valid mapping parameters of camera B. Solve the new mapping parameters of camera A according to the current world coordinates and the pixel coordinates of the same reference feature points in the new view image of camera A.

[0015] S5. When the mapping parameters of camera B fail, keep the pose of camera A unchanged, obtain the current world coordinates of each reference feature point according to the current valid mapping parameters of camera A, and solve the new mapping parameters of camera B according to the current world coordinates and the pixel coordinates of the same reference feature points in the new view image of camera B.

[0016] S6. Using the unified world coordinate system as a reference, calculate the displacement time history based on the difference between the world coordinates of each monitoring target point at each time and the world coordinates at the initial time.

[0017] The method for determining the failure of the mapping parameters is as follows:

[0018] Calculate the median absolute value of the horizontal and vertical changes in pixel coordinates of all tracked feature points in two adjacent frames;

[0019] When the median absolute value of the lateral change does not exceed a preset lateral threshold and the median absolute value of the longitudinal change exceeds a preset longitudinal threshold, it is determined to be an attitude adjustment event;

[0020] The preset vertical threshold is greater than the preset horizontal threshold.

[0021] The process of solving for the new mapping parameters includes the following steps:

[0022] By performing homography transformation on the pixel coordinates of each reference feature point using the current effective mapping parameters of the camera while maintaining pose, the reference world coordinates of each reference feature point are obtained.

[0023] In the new view image of the camera after pose adjustment, identify each feature point with the same name as the reference feature point, and obtain the pixel coordinates of each feature point;

[0024] A coefficient matrix is ​​constructed based on the correspondence between multiple sets of reference world coordinates and pixel coordinates. Singular value decomposition is performed on the coefficient matrix, and the vector corresponding to the smallest singular value is reshaped into a mapping matrix.

[0025] When the number of the correspondences exceeds the preset number of groups, RANSAC robust estimation is performed before performing the singular value decomposition.

[0026] The method for identifying the reference feature point and the monitoring target point is as follows:

[0027] The unique identification of the reference feature points is achieved through the coded pattern on the artificial target, or through the stable natural features of the structure itself;

[0028] The stable natural features include bolt hole centers, component intersections, and engraving marks;

[0029] The reference feature points have a unique numbering correspondence in the images from different viewpoints of the two cameras;

[0030] The monitored target point has a unique identifier and is stably tracked in the camera image.

[0031] It also includes a coordinate continuity quality verification step:

[0032] After obtaining the new mapping parameters, multiple common-view reference feature points are selected;

[0033] The first world coordinates of each common-view reference feature point are calculated based on the new mapping parameters, and the second world coordinates of each common-view reference feature point are calculated based on the current effective mapping parameters of the camera while maintaining the pose.

[0034] The magnitude of the difference between the first world coordinates and the second world coordinates of each common-view reference feature point is calculated as the consistency residual of each common-view reference feature point;

[0035] Calculate the mean of the consistency residuals for all common-view reference feature points;

[0036] The new mapping parameters are accepted when the mean value does not exceed the preset verification threshold.

[0037] Camera A and Camera B follow asynchronous pose adjustment rules, which are as follows:

[0038] Only one camera is allowed to be in attitude adjustment or coordinate connection state at any given time;

[0039] After camera A completes coordinate connection and passes quality verification, it starts attitude adjustment of camera B.

[0040] After camera B completes coordinate connection and passes quality verification, it initiates attitude adjustment for camera A, and so on, alternating between the two.

[0041] When the image acquisition timestamps of the two cameras are out of sync, the following applies:

[0042] In the A-camera pose adjustment follow-up step or the B-camera pose adjustment follow-up step, linear interpolation is performed on the world coordinates of the reference feature points of the camera that maintains its pose at two adjacent time points;

[0043] The interpolated result is used as the reference world coordinate for the reference time.

[0044] The weights of the linear interpolation are determined based on the time interval between the reference time and the two adjacent times.

[0045] The coordinate continuation method during multiple camera attitude adjustments is as follows:

[0046] When the monitored structure undergoes multiple camera attitude adjustments throughout the process, coordinate connection is completed after each attitude adjustment in accordance with the A camera attitude adjustment continuation steps or the B camera attitude adjustment continuation steps.

[0047] The new mapping parameters obtained after each pose adjustment are used as the effective mapping parameters after that pose adjustment.

[0048] The world coordinates of the monitored target points within the time period after each attitude adjustment are calculated based on the effective mapping parameters corresponding to that time period.

[0049] The coordinates for all time periods are based on the unified world coordinate system.

[0050] The coordinate mapping parameter update method in a three-dimensional displacement monitoring scenario is as follows:

[0051] The coordinate mapping parameters in the three-dimensional displacement monitoring scenario consist of the camera intrinsic parameter matrix and the camera extrinsic parameter matrix;

[0052] The reference feature points satisfy the non-coplanar condition;

[0053] In the A-camera attitude adjustment follow-up step or the B-camera attitude adjustment follow-up step, the PnP algorithm is used to re-solve the extrinsic parameter matrix of the attitude adjustment camera based on the correspondence between the three-dimensional world coordinates and pixel coordinates of multiple non-coplanar reference feature points;

[0054] The three-dimensional world coordinates of the monitoring target point are obtained through dual-camera stereo triangulation.

[0055] It also includes a post-attitude adjustment stability determination step, which is as follows:

[0056] After the camera completes its attitude adjustment, it continuously acquires multiple frames of images.

[0057] Calculate the median of the inter-frame pixel coordinate changes for each reference feature point in the multi-frame image;

[0058] The camera is considered stable when the median of the inter-frame pixel coordinate changes of all reference feature points does not exceed a preset stability threshold.

[0059] After determining that the camera has stabilized, the A camera attitude adjustment follow-up step or the B camera attitude adjustment follow-up step is triggered.

[0060] Compared with the prior art, the beneficial effects of the present invention are:

[0061] 1. This invention uses a dual-camera alternating attitude adjustment mechanism to reconstruct the new mapping parameters of the attitude adjustment camera by using the effective mapping parameters of another stable camera as a reference when adjusting the attitude of a single camera. This ensures that the world coordinates of the monitored target points in each observation segment before and after attitude adjustment are based on the same unified world coordinate system, thus solving the problem of the displacement time history reference being broken due to the failure of pixel-world coordinate mapping after camera attitude adjustment.

[0062] 2. This invention completes coordinate continuity by setting up a set of common-view reference feature points on the structure itself and using the common-view relationship of two cameras. It does not rely on static background feature points or external fixed reference markers, and is suitable for monitoring environments with sparse background features, such as indoor large-span structures and complex construction sites.

[0063] 3. This invention employs a coordinate transfer chain that relays between camera A and camera B in a cyclic manner. After each attitude adjustment, new mapping parameters are reconstructed with reference to the effective mapping parameters of the currently stabilized camera. The coordinates of each observation segment are directly compatible with the unified world coordinate system, eliminating the need for cross-segment cumulative coordinate transformation. This supports multiple on-demand adjustments of the camera during long-term monitoring. Attached Figure Description

[0064] Figure 1 This is a schematic diagram of the layout of a dual-camera coordinate continuity system for large-stroke displacement monitoring using alternating attitude adjustment of dual cameras.

[0065] Figure 2 This is a schematic diagram of the overall process of dual-camera alternating attitude adjustment coordinate unification for large stroke displacement monitoring according to the present invention.

[0066] Figure 3This is a schematic diagram of the layout of concentric circular target reference feature points for dual-camera alternating attitude adjustment and unified coordinates for large-stroke displacement monitoring according to the present invention.

[0067] Figure 4 This is a schematic diagram of the A-camera attitude coordinate connection operation process for the dual-camera alternating attitude coordinate unification for large stroke displacement monitoring according to the present invention.

[0068] Figure 5 This is a schematic diagram of the coordinate transfer chain and displacement time history output of a dual-camera alternating attitude adjustment coordinate unification system for large-stroke displacement monitoring according to the present invention. Detailed Implementation

[0069] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0070] Example: Figures 1-5 As shown, the present invention provides a technical solution.

[0071] Fix camera A and camera B in stable, non-overlapping installation positions respectively;

[0072] The installation positions of cameras A and B should ensure that the effective field of view of both cameras can jointly cover multiple sets of reference features on the monitored structure.

[0073] Each set of reference features is placed at an appropriate location on the monitored structure, and each set of reference features contains multiple feature points;

[0074] Each feature point is uniquely numbered, and the geometric relationship between each feature point has been determined through pre-measurement or calibration.

[0075] The initial world coordinates of each reference feature point were determined using a total station;

[0076] Monitoring target points are deployed at key locations on the structure being monitored. These monitoring target points can be artificial markers or natural feature points of the structure itself.

[0077] After the system deployment phase is completed, each set of reference feature points is located within the common field of view of the two cameras, and the monitoring target point can be stably identified by at least one camera in each frame of image.

[0078] Two cameras simultaneously acquire initial image frames;

[0079] In the images captured by each camera, each feature point contained in each group of reference feature points is identified, and the pixel coordinates of each reference feature point are obtained.

[0080] Based on the correspondence between the pixel coordinates of each reference feature point and the known world coordinates of each reference feature point, the initial coordinate mapping parameters of camera A and camera B are established respectively.

[0081] In the scenario of planar displacement monitoring, a 3×3 homography matrix is ​​used for coordinate mapping parameters. For camera A or camera B, let the coordinates of the reference feature point in the world coordinate system be (X... k ,Y k ), corresponding pixel coordinates are (u k ,v k The homography matrix M satisfies:

[0082] ;

[0083] Where s is a non-zero scaling factor, and the value of s is M·[u k ,v k The third component of T;

[0084] In the above formula, [u k ,v k [1]T is the homogeneous coordinate vector of pixel coordinates, and M is a 3×3 homography matrix; the result of M·[uk,vk,1]T is a three-dimensional vector, the first component of which is denoted as the first component, the second component as the second component, and the third component as the third component.

[0085] Then refer to the world coordinates (X) of the feature point k ,Y k )for:

[0086] ;

[0087] Using the pixel coordinates of the reference feature point (u) k ,v k ) and corresponding world coordinates (X) k ,Y k () form a reference point pair;

[0088] For each pair of reference points, construct two constraint equations, and multiple reference feature points form a coefficient matrix Amat;

[0089] Perform singular value decomposition on Amat, take the right singular vector corresponding to the minimum singular value, and reshape the vector into a 3×3 matrix to obtain the homography matrix M.

[0090] When the number of reference feature points exceeds the minimum number required for the solution, perform RANSAC robust estimation before performing singular value decomposition to eliminate outlier correspondences;

[0091] The termination condition for the RANSAC robust estimation is that the proportion of inliers is greater than or equal to a preset inlier proportion threshold.

[0092] The initial coordinate mapping parameters M of camera A are obtained by solving for the initial coordinate mapping parameters of camera A separately for camera A and camera B. A,0 Initial coordinate mapping parameters M with camera B B,0 .

[0093] The coordinate system determined by the initial coordinate mapping parameters of camera A is the unified world coordinate system Σ, or the coordinate system determined by the initial coordinate mapping parameters of camera B is the unified world coordinate system Σ.

[0094] Verify the consistency of world coordinate estimates for the same reference feature points by two cameras;

[0095] According to M respectively A,0 With M B,0 Calculate the world coordinates of the same reference feature point and the difference between them. If the difference exceeds the preset acceptance threshold, adjust the installation accuracy or remeasure the coordinates of the reference feature point.

[0096] Two cameras acquire images in parallel and continuously at a set frame rate. For each frame, reference feature points and target points are identified in their respective images, and the pixel coordinates of each point are obtained.

[0097] Camera A converts the pixel coordinates of the reference feature points and the monitored target points in its image into world coordinates based on the currently valid mapping parameters.

[0098] Camera B converts the pixel coordinates of the reference feature points and the monitored target points in its image into world coordinates based on the currently valid mapping parameters.

[0099] Record the world coordinates of each monitoring target point at every moment to form a displacement time history record of each monitoring target point.

[0100] During normal monitoring, each camera is checked frame by frame to see if any attitude adjustment events have occurred.

[0101] For all feature points with stable tracking established in two adjacent frames, for the i-th feature point, calculate the horizontal change Δu of its pixel coordinates between frames. i Inter-frame longitudinal variation Δv i The formula is as follows:

[0102] ;

[0103] Where u i (t) represents the horizontal pixel coordinates of the i-th feature point in the current frame, u i (t-1) represents the horizontal pixel coordinates of the i-th feature point in the previous frame;

[0104] v i (t) represents the vertical pixel coordinates of the i-th feature point in the current frame, v i (t-1) represents the vertical pixel coordinates of the i-th feature point in the previous frame;

[0105] Δu i Let Δv be the inter-frame lateral variation of the i-th feature point. i Let be the inter-frame longitudinal variation of the i-th feature point.

[0106] Med is the median of the absolute values ​​of the lateral changes of all feature points. u Median of the absolute value of longitudinal change (Med) v The formula is as follows:

[0107] ;

[0108] Where |Δu i | represents the absolute value of the inter-frame lateral variation of the i-th feature point, |Δv i | represents the absolute value of the inter-frame vertical variation of the i-th feature point, and median{} is the median operation;

[0109] Preset horizontal threshold τ u With the preset vertical threshold τ v , where τ v >τ u ;τ u τ is the threshold for the lateral change in attitude adjustment events. v This is the threshold for determining the longitudinal change amount used to identify attitude adjustment events;

[0110] When Med u ≤τ u And Med v >τ v When the frame is determined to be a camera attitude adjustment event frame, it means that the camera has made an attitude adjustment at that moment, and its mapping parameters are invalid.

[0111] If the above conditions are not met, it is determined that the camera has not adjusted its attitude and normal monitoring continues.

[0112] After determining that the camera has adjusted its attitude, the operator performs an attitude adjustment operation on the camera. Once the camera has completed the attitude adjustment, it continuously acquires multiple frames of images.

[0113] For continuously acquired multi-frame images, calculate the pixel coordinate change of each reference feature point between adjacent frames. For the j-th reference feature point, its inter-frame lateral change is Δu. j The vertical variation between frames is Δv j Inter-frame pixel coordinate change Δpj for:

[0114] ;

[0115] Where Δu j Let Δv be the inter-frame lateral variation of the j-th reference feature point. j Let Δp be the inter-frame longitudinal variation of the j-th reference feature point. j This represents the inter-frame pixel coordinate change of the j-th reference feature point.

[0116] Med is the median of the inter-frame pixel coordinate changes for each reference feature point. stable :

[0117] ;

[0118] Among them, Med stable This represents the median of the inter-frame pixel coordinate changes for all reference feature points.

[0119] Preset stability threshold τ stable , τ stable This is the threshold for the amount of pixel coordinate change used to determine whether the camera has restabilized. When Med... stable ≤τ stable At this point, it is determined that the camera has stabilized again. After determining that the camera has stabilized, the subsequent coordinate continuation steps are triggered.

[0120] When the mapping parameters of camera A fail, keep the pose of camera B unchanged. After camera A completes its attitude adjustment and is determined to be stable again, perform the following coordinate continuation operation.

[0121] The current valid mapping parameters M of camera B B,cur Perform homography transformation on the pixel coordinates of each reference feature point to obtain the current world coordinates of each reference feature point in the world coordinate system;

[0122] For the k-th reference feature point, its pixel coordinates are (u k ,v k The transformation method is as follows:

[0123] ;

[0124] Where M B,cur Let be the current valid mapping parameters for camera B, where s is a non-zero scaling factor, and the value of s is M. B,cur ·[u k ,v k,1 The third component of T, (X) k ,Y k Let be the world coordinates of the reference feature point obtained after the transformation; then:

[0125] ;

[0126] With (X) k ,Y k The reference world coordinates of this reference feature point; the current effective mapping parameters M of camera B. B,cur For: When camera B has not yet performed coordinate continuation, M B,cur =M B,0 ;

[0127] When camera B has performed coordinate sequence, M B,cur It equals the new mapping parameters obtained from the most recent coordinate continuation.

[0128] In the new view image after camera A completes pose adjustment, identify each feature point with the same name as the aforementioned reference feature points, and obtain the pixel coordinates (u) of each feature point. k ′,v k ′).

[0129] Using multiple sets of reference world coordinates (X) k ,Y k ) and pixel coordinates (u k ′,v k Construct a coefficient matrix based on the correspondence between ′ and );

[0130] For each pair of correspondences, construct two constraint equations.

[0131] Multiple reference feature points constitute a coefficient matrix. Singular value decomposition is performed on this coefficient matrix, and the vector corresponding to the smallest singular value is taken. This vector is then reshaped into a 3×3 matrix to obtain the new mapping parameters M for camera A. A,new .

[0132] When the number of correspondences exceeds the preset number of correspondences, perform RANSAC robust estimation before performing singular value decomposition to remove outlier correspondences;

[0133] The termination condition for the RANSAC robust estimation is that the proportion of inliers is greater than or equal to a preset inlier proportion threshold.

[0134] M A,new As a new mapping parameter for camera A, subsequent observations of camera A are connected to the unified world coordinate system Σ.

[0135] The new mapping parameters M of camera A are obtained by solving. A,new Next, multiple common-view reference feature points are selected. Common-view reference feature points are reference feature points that are clearly observed by both camera A and camera B and are numbered accordingly.

[0136] For the k-th common-view reference feature point, according to the new mapping parameter M A,new Calculate first-world coordinates W new,kAnd based on the current valid mapping parameters M of camera B B,cur Calculate the second world coordinates W stable,k .

[0137] W new,k The calculation method is as follows:

[0138] ;

[0139] Where u k v k Let s be the pixel coordinates of the common-view reference feature point in the new view image of camera A. X X is a scaling factor. new,k Y new,k First-world coordinates W new,k The horizontal and vertical components.

[0140] W stable,k The calculation method is as follows:

[0141] ;

[0142] Among them, u k ′、v k ' is the pixel coordinate of the common-view reference feature point in the current frame image of camera B, s S X is a scaling factor. stable,k Y stable,k Second world coordinates W stable,k The horizontal and vertical components.

[0143] Calculate the magnitude r of the difference between the first world coordinates and the second world coordinates of the common-view reference feature point. k The formula is as follows:

[0144] ;

[0145] The above formula expands to:

[0146] ;

[0147] Where ||·||² is the Euclidean norm of the vector; r k This serves as the consistency residual for the common-view reference feature point.

[0148] Calculate the mean r of the consistency residuals of all common-view reference feature points. mean The formula is as follows:

[0149] ;

[0150] Where n v This represents the number of common reference feature points.

[0151] Preset verification threshold , This is the threshold value for the mean of the consistency residuals used to determine whether the coordinate splicing quality is up to standard.

[0152] When r mean ≤ When accepting new mapping parameters M A,new The new mapping parameters are then used as the valid mapping parameters for camera A.

[0153] When r mean > If the coordinate connection is deemed unreliable, the reference feature point is re-identified and the coordinate connection is re-executed.

[0154] Camera A and Camera B follow asynchronous attitude adjustment rules. Only one camera is allowed to be in attitude adjustment or coordinate connection state at any given time.

[0155] Only after camera A completes coordinate connection and passes quality verification can camera B's attitude adjustment be initiated.

[0156] Once camera B has completed its attitude adjustment and determined that it has stabilized again, the pose of camera A remains unchanged.

[0157] Based on the current valid mapping parameters M of camera A A,cur Obtain the current world coordinates of each reference feature point;

[0158] Identify the pixel coordinates of the corresponding reference feature point in the new view image of camera B.

[0159] The new mapping parameters M of camera B are solved by referring to the correspondence between world coordinates and pixel coordinates. B,new The specific solution method is the same as the solution method for the A camera attitude adjustment coordinate continuation in implementation step six.

[0160] After obtaining the new mapping parameters for camera B, coordinate continuity quality verification is performed, using the same method as the quality verification in step seven.

[0161] When the verification is successful, the new mapping parameters of camera B will be used as the effective mapping parameters of camera B, and subsequent observations of camera B will be connected to the unified world coordinate system.

[0162] Only after camera B completes coordinate connection and passes quality verification can camera A start its next attitude adjustment, and so on alternately.

[0163] The unified world coordinate system Σ is used as the reference; the world coordinates of each monitoring target point at each time moment are directly calculated based on the effective mapping parameters of the corresponding camera at that time moment. The coordinates of each observation period are based on the unified world coordinate system Σ.

[0164] The world coordinates of each monitoring target point at the initial monitoring time t0 are taken as the zero point of displacement. For monitoring target point k, its world coordinates at time t are P. k (t) = (X k (t),Y k (t)), where the world coordinates at the initial monitoring time t0 are P. k (t0) = (X) k (t0),Y k (t0)).

[0165] Where t is any monitoring time, t0 is the initial monitoring time, and P k (t) represents the world coordinates of the monitoring target point k at time t, P k (t0) represents the world coordinates of the monitoring target point k at the initial monitoring time.

[0166] Calculate the horizontal displacement vector ΔP of the monitoring target point at time t. k (t), the formula is as follows:

[0167] ;

[0168] Expand the vector into horizontal and vertical components:

[0169] ;

[0170] Where, ΔX k (t) represents the horizontal lateral displacement component, ΔY k (t) represents the horizontal longitudinal displacement component;

[0171] X k (t) represents the horizontal component of the world coordinates of the monitoring target point k at time t, Y k (t) represents the longitudinal component of the world coordinates of the monitoring target point k at time t;

[0172] X k (t0) represents the horizontal component of the world coordinates of the monitoring target point k at the initial monitoring time, Y k (t0) represents the longitudinal component of the world coordinates of the monitoring target point k at the initial monitoring time.

[0173] The displacement modulus d of the monitoring target point at time t k (t) is:

[0174] ;

[0175] Where d k (t) represents the displacement modulus of the target point k at time t.

[0176] Output the horizontal displacement time history of each monitoring target point.

[0177] When the image acquisition timestamps of the two cameras are out of sync, linear interpolation is performed on the world coordinates of the reference feature points of the camera that maintains its pose during the pose adjustment sequence of either camera A or camera B.

[0178] Suppose that the camera, maintaining its pose, has world coordinates P(t1) and P(t2) for a certain reference feature point at two adjacent times t1 and t2, where t1... <t2。

[0179] t1 is the previous time, t2 is the next time, P(t1) is the world coordinate of the reference feature point at time t1, and P(t2) is the world coordinate of the reference feature point at time t2.

[0180] Determine the reference time t ref The reference time is the moment when the pose-adjusting camera acquires a new view image after completing pose adjustment, and t1≤t ref ≤t2.

[0181] The reference feature point at reference time t is calculated using the following linear interpolation formula. ref interpolated coordinates P(t) ref ):

[0182] ;

[0183] Where (t) ref -t1) / (t2-t1) is the weight of the linear interpolation, which is determined based on the time interval between the reference time and two adjacent times.

[0184] P(t ref The interpolated coordinates of the reference feature point at the reference time.

[0185] The interpolation result P(t) ref (This refers to the reference world coordinates at a reference time.)

[0186] By establishing a correspondence between the interpolated reference world coordinates and the pixel coordinates of the corresponding reference feature points in the new view image of the attitude adjustment camera, the new mapping parameters of the attitude adjustment camera are solved.

[0187] Let M be the new mapping parameters obtained after the j-th pose adjustment. j , where j is the number of attitude adjustments, j=1,2,3,… M j These are the new mapping parameters obtained after the j-th pose adjustment.

[0188] The world coordinates of the monitored target points within each time period after each attitude adjustment are based on the effective mapping parameter M corresponding to that time period. j Calculate directly.

[0189] The coordinates for all time periods are based on the unified world coordinate system Σ, eliminating the need for coordinate transformations between different observation segments.

[0190] In a three-dimensional displacement monitoring scenario, the coordinate mapping parameters consist of the camera intrinsic parameter matrix and the camera extrinsic parameter matrix.

[0191] During the initialization phase, before formal monitoring, the intrinsic parameters of cameras A and B are calibrated to obtain the intrinsic parameter matrix K of each camera.

[0192] K is the camera intrinsic parameter matrix, which includes camera internal parameters such as focal length and principal point.

[0193] Using reference feature points with known coordinates in three-dimensional space as a reference, the PnP algorithm is used to solve for the initial extrinsic parameter matrix [R|t] of each camera, where R is the rotation matrix and t is the translation vector. [R|t] together constitute the camera extrinsic parameter matrix, which describes the position and orientation of the camera in the world coordinate system.

[0194] This establishes a unified three-dimensional world coordinate system Σ; in a three-dimensional monitoring scenario, the reference feature points satisfy the non-coplanar condition.

[0195] In the pose adjustment follow-up step of camera A or camera B, the PnP algorithm is used to resolve the extrinsic parameter matrix of the pose adjustment camera based on the correspondence between the three-dimensional world coordinates and pixel coordinates of multiple non-coplanar reference feature points.

[0196] The three-dimensional world coordinates are calculated from the current extrinsic parameter matrix of the camera while maintaining its pose.

[0197] The three-dimensional world coordinates of the monitoring target point are obtained using a dual-camera stereo triangulation method. For monitoring target points observed only by a single camera, the current extrinsic and intrinsic parameter matrices of that camera are used to perform monocular depth estimation of the target point, or the target point is marked as a depth-undetermined point and triangulation is performed after the other camera regains common view.

[0198] The hangar roof of an airport uses a large-span steel truss structure with a span of 60 meters. During the overall lifting construction, continuous monitoring of the horizontal displacement of key nodes on the lower chord of the roof is required. As the roof is gradually lifted during construction, the cumulative displacement can reach several meters, necessitating multiple adjustments to the camera's field of view. In this embodiment, camera A is fixed to a stable support on the concrete column on the left side of the hangar, and camera B is fixed to an independent support at a symmetrical position on the right side of the hangar. The two cameras are approximately 35 meters away from the monitored structure, and the camera imaging resolution is 1920 pixels multiplied by 1080 pixels.

[0199] Concentric circular targets T1 are installed approximately one-third of the span from the left side of the roof truss lower chord, and concentric circular targets T2 are installed approximately one-third of the span from the right side. A local coordinate system is established for each target with its geometric center as the origin. The target pattern consists of three concentric rings: an inner ring with a radius of 50 mm, a middle ring with a radius of 100 mm, and an outer ring with a radius of 150 mm.

[0200] Eight reference feature points are placed on each of targets T1 and T2, evenly distributed on three concentric rings. Each reference feature point is coded with a different color to ensure unique identification. The planar coordinates of each reference feature point in the target's local coordinate system are directly calculated from the radius and angular position parameters of the concentric rings.

[0201] After the targets were installed, the initial coordinates of the center of target T1 in the world coordinate system were measured using a total station to be 1000 mm and 5000 mm, and the initial coordinates of the center of target T2 in the world coordinate system were measured to be 6000 mm and 5000 mm. Based on this, the initial world coordinates of each reference feature point were determined.

[0202] Monitoring target points are set up at multiple key nodes of the lower chord of the roof. The monitoring target points are marked with circular reflective markers, and can be stably identified by at least one camera in each frame of the image.

[0203] Two cameras simultaneously acquire initial image frames. In the image acquired by camera A, eight reference feature points on target T1 are identified, and the pixel coordinates of each reference feature point are obtained.

[0204] The planar coordinates of the eight reference feature points on target T1 in the target local coordinate system are 0 mm, 50 mm, 50 mm, 0 mm, 0 mm, -50 mm, -50 mm, 0 mm, 70.71 mm, 70.71 mm, -70.71 mm, 70.71 mm, -70.71 mm, -70.71 mm, -70.71 mm, -70.71 mm, and -70.71 mm.

[0205] After converting the target's local coordinates to world coordinates, the world coordinates of the eight reference feature points are 1000 mm, 5050 mm, 1050 mm, 5000 mm, 1000 mm, 4950 mm, 950 mm, 5000 mm, 1070.71 mm, 5070.71 mm, 929.29 mm, 5070.71 mm, 929.29 mm, 4929.29 mm, and 1070.71 mm, 4929.29 mm.

[0206] The pixel coordinates of the eight reference feature points extracted from the image of camera A are 960 pixels, 440 pixels, 1040 pixels, 500 pixels, 960 pixels, 560 pixels, 880 pixels, 500 pixels, 1096.56 pixels, 460.56 pixels, 823.44 pixels, 460.56 pixels, 823.44 pixels, 539.44 pixels, and 1096.56 pixels, 539.44 pixels.

[0207] Eight reference point pairs are constructed using the pixel coordinates of reference feature points and their corresponding world coordinates. Two constraint equations are generated for each reference point pair. The eight reference feature points form a coefficient matrix of 16 rows by 9 columns. Singular value decomposition is performed on this coefficient matrix, and the right singular vector corresponding to the smallest singular value is taken. This vector is then reshaped into a 3x3 matrix to obtain the initial homography matrix M of camera A. A,0 .

[0208] The images acquired by camera B are processed using the same method to obtain the initial homography matrix M of camera B. B,0 The coordinate system determined by the initial homography matrix of camera A is taken as the unified world coordinate system Σ. The consistency of the world coordinate estimates of the target T1 center by the two cameras is verified, based on M... A,0 With M B,0 Calculate the world coordinates of the center of target T1, and calculate the difference between the two. If the difference exceeds the preset acceptance threshold of 5 mm, adjust the installation accuracy or remeasure the coordinates of the reference feature point.

[0209] After initialization, the two cameras continuously acquire images in parallel at a frequency of 2 frames per second. Camera A, based on the current effective homography matrix M, A,0 Convert the pixel coordinates of the reference feature points and the monitored target points in its image to world coordinates, and then camera B uses the current effective homography matrix M to perform the conversion. B,0 The pixel coordinates of the reference feature points and the monitoring target points in the image are converted into world coordinates.

[0210] Record the world coordinates of each monitoring target point at every moment to form a displacement time history record for each monitoring target point. During normal monitoring, check each camera frame by frame to see if any attitude adjustment events occur. Taking the 100th frame image of camera A as an example, there are a total of 24 feature points with stable tracking established in this frame image. Calculate the absolute value of the horizontal change and the absolute value of the vertical change of pixel coordinates between these 24 feature points in two adjacent frames.

[0211] The median absolute value of the inter-frame horizontal variation of the 24 feature points is 2 pixels, and the median absolute value of the inter-frame vertical variation is 33 pixels. A preset horizontal threshold τ is used. u The value is 5 pixels, and the preset vertical threshold τ is... v The pixel size is 30 pixels, and the median is 2 pixels, not exceeding τ.u And the median of 33 pixels exceeds τ. v If camera A has adjusted its attitude in this frame, its mapping parameters are invalidated. If the above conditions are not met, it is determined that the camera has not adjusted its attitude and continues normal monitoring.

[0212] After determining that camera A has adjusted its attitude, the operator performs an attitude adjustment operation on camera A, adjusting its pitch angle to reposition the monitored target back in the center of the image. After completing the attitude adjustment, camera A continuously acquires 8 frames of images, calculating the pixel coordinate changes of each reference feature point between adjacent frames. The inter-frame pixel coordinate changes of the 8 reference feature points on target T1 are 5 pixels, 4 pixels, 6 pixels, 4 pixels, 5 pixels, 3 pixels, 6 pixels, and 4 pixels, respectively, with a median value of 4.5 pixels. A preset stability threshold τ is used. stable The median is 5 pixels, and the median value is 4.5 pixels, not exceeding τ. stable It was determined that camera A had stabilized again.

[0213] After camera A is determined to be stable again, coordinate continuation operation is performed. While keeping the pose of camera B unchanged, the effective mapping parameters MB,cur of camera B at the current moment are used as a reference. Homography transformation is performed on the pixel coordinates of the 8 reference feature points on the target T1 to obtain the current world coordinates of each reference feature point in the unified world coordinate system Σ.

[0214] For the first reference feature point on target T1, its pixel coordinates in the current frame image of camera B are 980 pixels and 480 pixels, and the reference world coordinates obtained after homography transformation are 1050 mm and 5050 mm. The reference world coordinates of the remaining 7 reference feature points are 1070 mm and 5000 mm, 1050 mm and 4950 mm, 1030 mm and 5000 mm, 1090 mm and 5070 mm, 1010 mm and 5070 mm, 1010 mm and 4930 mm, and 1090 mm and 4930 mm, respectively.

[0215] In the new view image after camera A is posed, identify the feature points with the same names as the eight reference feature points mentioned above. Obtain the pixel coordinates of each feature point as follows: 970 pixels, 450 pixels, 1050 pixels, 510 pixels, 970 pixels, 570 pixels, 890 pixels, 510 pixels, 1105 pixels, 468 pixels, 835 pixels, 468 pixels, 835 pixels, 552 pixels, and 1105 pixels, 552 pixels. Construct a coefficient matrix based on the correspondence between the eight sets of reference world coordinates and pixel coordinates. For each set of correspondences, construct two constraint equations. The eight reference feature points form a coefficient matrix of 16 rows by 9 columns. Perform singular value decomposition on this coefficient matrix, and reshape the vector corresponding to the smallest singular value into a 3x3 matrix to obtain the new homography matrix M of camera A.A,new .

[0216] If the number of 8 correspondences exceeds the preset number of 4, RANSAC robust estimation is performed before performing singular value decomposition to remove outlier correspondences. The termination condition for RANSAC robust estimation is that the proportion of interior points is greater than or equal to the preset threshold of 60%.

[0217] The new homography matrix M of camera A is obtained by solving the problem. A,new Next, coordinate continuity quality verification was performed. Eight reference feature points on target T1 were selected as common-view reference feature points. These common-view reference feature points were clearly observed by both camera A and camera B and were numbered accordingly. For the first common-view reference feature point, according to the new homography matrix M... A,new The first-world coordinates are calculated to be 1052 mm and 5051 mm, based on the current effective mapping parameters M of camera B. B,cur The second world coordinates are calculated to be 1050 mm and 5050 mm, and the difference between the two is 2.236 mm.

[0218] The consistency residuals of the remaining 7 common-view reference feature points are 2.000 mm, 2.236 mm, 2.828 mm, 2.236 mm, 2.000 mm, 2.236 mm, and 2.828 mm, respectively. The mean of the consistency residuals of the 8 common-view reference feature points is 2.325 mm. With a preset verification threshold εv of 5 mm, and the mean 2.325 mm not exceeding 5 mm, the new homography matrix M is accepted. A,new This is used as the effective mapping parameter for camera A, and subsequent observations from camera A are connected to the unified world coordinate system Σ. When the mean exceeds 5 mm, the coordinate reconnection is deemed unreliable, and the reference feature point is re-identified and the coordinate reconnection is re-executed.

[0219] Cameras A and B follow asynchronous pose adjustment rules, allowing only one camera to be in pose adjustment or coordinate connection state at any given time. Camera B's pose adjustment can only begin after camera A has completed coordinate connection and passed quality verification. Once camera B completes pose adjustment and determines that it has regained stability, it maintains the pose of camera A unchanged, based on camera A's current valid mapping parameters M. A,cur Obtain the current world coordinates of each reference feature point, identify the pixel coordinates of the corresponding reference feature points in the new view image of camera B, and solve for the new mapping parameter M of camera B by using the correspondence between the reference world coordinates and the pixel coordinates. B,newThe specific solution method is the same as that used for the coordinate continuity of camera A described above. After obtaining the new mapping parameters for camera B, a coordinate continuity quality verification is performed, using the same method as described above. When the verification passes, the new mapping parameters for camera B are used as the valid mapping parameters for camera B. Only after camera B completes coordinate continuity and passes the quality verification can the next attitude adjustment of camera A be initiated, and this process is repeated alternately.

[0220] Based on the established unified world coordinate system Σ, the world coordinates of each monitoring target point at each time moment are directly calculated according to the effective mapping parameters of the camera corresponding to that time moment. The coordinates of each observation period are based on the unified world coordinate system Σ.

[0221] Taking the world coordinates of a certain monitoring target point k at the initial monitoring time t0 as the zero point of displacement, the world coordinates of the monitoring target point at the initial monitoring time t0 are 2000 mm and 3000 mm. At time t1, the world coordinates of the monitoring target point calculated by the effective mapping parameters of camera A are 2050 mm and 3020 mm. The horizontal displacement vector ΔP at this time is... k At time t1, the horizontal displacement component is 50 mm and the longitudinal displacement component is 20 mm, with a displacement modulus of 53.85 mm. At time t2, the world coordinates of the monitored target point, calculated from the effective mapping parameters of camera B, are 2120 mm and 3060 mm. The horizontal displacement vector ΔP at this time is... k (t2) is 120 mm and 60 mm, where the horizontal displacement component is 120 mm and the horizontal longitudinal displacement component is 60 mm, and the displacement modulus is 134.16 mm. Output the horizontal displacement time history of each monitoring target point.

[0222] When the image acquisition timestamps of the two cameras are out of sync, linear interpolation is performed on the world coordinates of the reference feature point of the camera maintaining its pose during either the A-camera pose adjustment follow-up step or the B-camera pose adjustment follow-up step. For example, the world coordinates of a certain reference feature point in the pose-maintaining camera are 1000 mm and 5000 mm at time t1 (10:00:00), and the world coordinates are 1010 mm and 5010 mm at time t2 (10:00:02). The time t after the pose adjustment camera completes pose adjustment and acquires the new view image is... ref The reference time is 10:00:01, which is between t1 and t2.

[0223] The linear interpolation weight is 0.5, and the interpolated coordinates of the reference feature point at the reference time are 1005 mm and 5005 mm. Using the interpolation result as the reference world coordinates at the reference time, a correspondence is established between the interpolated reference world coordinates and the pixel coordinates of the corresponding reference feature point in the new view image of the attitude adjustment camera, and the new mapping parameters of the attitude adjustment camera are solved.

[0224] When the monitored structure undergoes multiple camera attitude adjustments throughout the process, coordinate continuity is completed after each adjustment following either the A-camera attitude adjustment continuation step or the B-camera attitude adjustment continuation step described above. The new mapping parameter obtained after the first attitude adjustment is M1, and the world coordinates of the monitored target point within the time period following this adjustment are directly calculated based on M1. The new mapping parameter obtained after the second attitude adjustment is M2, and the world coordinates of the monitored target point within the time period following this adjustment are directly calculated based on M2.

[0225] The coordinates for all time periods are based on the unified world coordinate system Σ, eliminating the need for coordinate transformations between different observation segments.

[0226] In a 3D displacement monitoring scenario, the coordinate mapping parameters consist of the camera intrinsic parameter matrix and the camera extrinsic parameter matrix. During the initialization phase, before formal monitoring, the intrinsic parameters of cameras A and B are calibrated separately. The intrinsic parameter matrix K of camera A... A The intrinsic parameter matrix KB of camera B contains focal length and principal point parameters.

[0227] Using reference feature points with known coordinates in 3D space as a baseline, the PnP algorithm is employed to solve for the initial extrinsic parameter matrices of camera A and camera B, thereby establishing a unified 3D world coordinate system Σ. In the 3D monitoring scenario, the reference feature points satisfy the non-coplanar condition, meaning that not all reference feature points can lie entirely within the same plane. During the pose adjustment transition steps for either camera A or camera B, the PnP algorithm is used to re-solve for the extrinsic parameter matrix of the pose-adjusting camera based on the correspondence between the 3D world coordinates and pixel coordinates of multiple non-coplanar reference feature points. The 3D world coordinates are calculated from the current extrinsic parameter matrix of the camera while maintaining its pose.

[0228] The three-dimensional world coordinates of the monitoring target point are obtained by dual-camera stereo triangulation. For the monitoring target point that is only observed by a single camera, the current extrinsic and intrinsic parameter matrices of the camera are used to estimate the monocular depth of the target point, or the target point is marked as a depth undetermined point and triangulation is performed after the other camera restores common view.

[0229] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from its spirit or essential characteristics. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, all variations falling within the meaning and scope of equivalents of the claims are intended to be included within the present invention. No reference numerals in the claims should be construed as limiting the scope of the claims.

Claims

1. A method for unifying the attitude coordinates of alternating dual cameras for monitoring large-stroke displacement, characterized in that: Includes the following steps: S1. Fix camera A and camera B in non-overlapping installation positions so that the fields of view of the two cameras jointly cover multiple sets of reference features and multiple sets of common reference feature points on the monitored structure. Each set of reference features contains multiple feature points. Each feature point is uniquely numbered and the geometric relationship between them is known. Set up monitoring target points on the monitored structure. S2. Two cameras simultaneously acquire images and identify reference feature points. Based on the pixel coordinates of the reference feature points and the known world coordinates, the initial coordinate mapping parameters of camera A and camera B are established, and a unified world coordinate system is established. S3. Two cameras continuously acquire images, and convert the pixel coordinates of the reference feature point and the monitored target point into world coordinates according to their respective current effective mapping parameters; S4. When the mapping parameters of camera A fail, keep the pose of camera B unchanged. After camera A completes the pose adjustment, obtain the current world coordinates of each reference feature point according to the current valid mapping parameters of camera B. Solve the new mapping parameters of camera A according to the current world coordinates and the pixel coordinates of the same reference feature points in the new view image of camera A. S5. When the mapping parameters of camera B fail, keep the pose of camera A unchanged, obtain the current world coordinates of each reference feature point according to the current valid mapping parameters of camera A, and solve the new mapping parameters of camera B according to the current world coordinates and the pixel coordinates of the same reference feature points in the new view image of camera B. S6. Using the unified world coordinate system as a reference, calculate the displacement time history based on the difference between the world coordinates of each monitoring target point at each time and the world coordinates at the initial time.

2. The method for unifying the attitude adjustment coordinates of dual cameras for monitoring large-stroke displacement according to claim 1, characterized in that: The method for determining the failure of the mapping parameters is as follows: Calculate the median absolute value of the horizontal and vertical changes in pixel coordinates of all tracked feature points in two adjacent frames; When the median absolute value of the lateral change does not exceed a preset lateral threshold and the median absolute value of the longitudinal change exceeds a preset longitudinal threshold, it is determined to be an attitude adjustment event; The preset vertical threshold is greater than the preset horizontal threshold.

3. The dual-camera alternating attitude adjustment coordinate unification method for large-stroke displacement monitoring according to claim 1, characterized in that: The process of solving for the new mapping parameters includes the following steps: By performing homography transformation on the pixel coordinates of each reference feature point using the current effective mapping parameters of the camera while maintaining pose, the reference world coordinates of each reference feature point are obtained. In the new view image of the camera after pose adjustment, identify each feature point with the same name as the reference feature point, and obtain the pixel coordinates of each feature point; A coefficient matrix is ​​constructed based on the correspondence between multiple sets of reference world coordinates and pixel coordinates. Singular value decomposition is performed on the coefficient matrix, and the vector corresponding to the smallest singular value is reshaped into a mapping matrix. When the number of the correspondences exceeds the preset number of groups, RANSAC robust estimation is performed before performing the singular value decomposition.

4. The dual-camera alternating attitude adjustment coordinate unification method for large-stroke displacement monitoring according to claim 1, characterized in that: The method for identifying the reference feature point and the monitoring target point is as follows: The unique identification of the reference feature points is achieved through the coded pattern on the artificial target, or through the stable natural features of the structure itself; The stable natural features include bolt hole centers, component intersections, and engraving marks; The reference feature points have a unique numbering correspondence in the images from different viewpoints of the two cameras; The monitored target point has a unique identifier and is stably tracked in the camera image.

5. The dual-camera alternating attitude adjustment coordinate unification method for large-stroke displacement monitoring according to claim 1, characterized in that: It also includes a coordinate continuity quality verification step: After obtaining the new mapping parameters, multiple common-view reference feature points are selected; The first world coordinates of each common-view reference feature point are calculated based on the new mapping parameters, and the second world coordinates of each common-view reference feature point are calculated based on the current effective mapping parameters of the camera while maintaining the pose. The magnitude of the difference between the first world coordinates and the second world coordinates of each common-view reference feature point is calculated as the consistency residual of each common-view reference feature point; Calculate the mean of the consistency residuals for all common-view reference feature points; The new mapping parameters are accepted when the mean value does not exceed the preset verification threshold.

6. The method for unifying the attitude adjustment coordinates of two cameras for monitoring large-stroke displacement according to claim 1, characterized in that: Camera A and Camera B follow asynchronous pose adjustment rules, which are as follows: Only one camera is allowed to be in attitude adjustment or coordinate connection state at any given time; After camera A completes coordinate connection and passes quality verification, it starts attitude adjustment of camera B. After camera B completes coordinate connection and passes quality verification, it initiates attitude adjustment for camera A, and so on, alternating between the two.

7. The dual-camera alternating attitude adjustment coordinate unification method for large-stroke displacement monitoring according to claim 1, characterized in that: When the image acquisition timestamps of the two cameras are out of sync, the following applies: In the A-camera pose adjustment follow-up step or the B-camera pose adjustment follow-up step, linear interpolation is performed on the world coordinates of the reference feature points of the camera that maintains its pose at two adjacent time points; The interpolated result is used as the reference world coordinate for the reference time. The weights of the linear interpolation are determined based on the time interval between the reference time and the two adjacent times.

8. The dual-camera alternating attitude adjustment coordinate unification method for large-stroke displacement monitoring according to claim 1, characterized in that: The coordinate continuation method during multiple camera attitude adjustments is as follows: When the monitored structure undergoes multiple camera attitude adjustments throughout the process, coordinate connection is completed after each attitude adjustment in accordance with the A camera attitude adjustment continuation steps or the B camera attitude adjustment continuation steps. The new mapping parameters obtained after each pose adjustment are used as the effective mapping parameters after that pose adjustment. The world coordinates of the monitored target points within the time period after each attitude adjustment are calculated based on the effective mapping parameters corresponding to that time period. The coordinates for all time periods are based on the unified world coordinate system.

9. The dual-camera alternating attitude adjustment coordinate unification method for large-stroke displacement monitoring according to claim 1, characterized in that: The coordinate mapping parameter update method in a three-dimensional displacement monitoring scenario is as follows: The coordinate mapping parameters in the three-dimensional displacement monitoring scenario consist of the camera intrinsic parameter matrix and the camera extrinsic parameter matrix; The reference feature points satisfy the non-coplanar condition; In the A-camera attitude adjustment follow-up step or the B-camera attitude adjustment follow-up step, the PnP algorithm is used to re-solve the extrinsic parameter matrix of the attitude adjustment camera based on the correspondence between the three-dimensional world coordinates and pixel coordinates of multiple non-coplanar reference feature points; The three-dimensional world coordinates of the monitoring target point are obtained through dual-camera stereo triangulation.

10. The method for unifying the attitude coordinates of alternating dual cameras for monitoring large-stroke displacement according to claim 1, characterized in that: It also includes a post-attitude adjustment stability determination step, which is as follows: After the camera completes its attitude adjustment, it continuously acquires multiple frames of images. Calculate the median of the inter-frame pixel coordinate changes for each reference feature point in the multi-frame image; The camera is considered stable when the median of the inter-frame pixel coordinate changes of all reference feature points does not exceed a preset stability threshold. After determining that the camera has stabilized, the A camera attitude adjustment follow-up step or the B camera attitude adjustment follow-up step is triggered.